[Issue 8322] std.string.chomp does not handle combining characters correctly
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jun 29 23:25:47 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8322
Jonathan M Davis <jmdavisProg at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-06-29 23:28:22 PDT ---
Scratch this. I was thinking that endsWith was returning true for these and
then incorrectly slicing the string when the delimiter was a different set of
code points for the saem thing, which would result in it being incorrectly
sliced. However, endsWith does _not_ return true for these, because it's
operating on code points just like chomp is. In both cases, the strings must be
normalized for this to work properly. chomp isn't broken.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list