[Issue 9629] New: toUpperInPlace doesn't work properly with unicode characters
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 1 19:46:57 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9629
Summary: toUpperInPlace doesn't work properly with unicode
characters
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: turkeyman at gmail.com
--- Comment #0 from Manu <turkeyman at gmail.com> 2013-03-01 19:46:49 PST ---
wchar[] test = "hello þ world"w.dup;
toUpperInPlace(test[6..7]);
assert(test == "hello Þ world");
The unicode letter Thorn is not converted in place.
--
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