http://d.puremagic.com/issues/show_bug.cgi?id=9629


Andrej Mitrovic <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #1 from Andrej Mitrovic <[email protected]> 2013-03-01 
20:24:24 PST ---
(In reply to comment #0)
> wchar[] test = "hello � world"w.dup;
> toUpperInPlace(test[6..7]);
> assert(test == "hello � world");
> 
> The unicode letter Thorn is not converted in place.

I'm noticing something strange:

import std.string;
import std.stdio;

void main()
{
    wchar[] test = "ab�defg"w.dup;
    toUpperInPlace(test[0 .. $]);
    writeln(test);
}

writes: AB�defg

Note how it stops uppercasing after that character.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to