[Issue 391] .sort and .reverse break utf8 encoding

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 21 01:54:13 PDT 2009


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


clugdbug at yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #5 from clugdbug at yahoo.com.au  2009-04-21 03:54 -------
This case (cut down from reverse_08_C) is still failing.

int main(){
   wchar[] a = "a\U00000081b\U00002000c\U00010000";
   wchar[] b = a.dup;

   b.reverse; // OK
   b.reverse; // fails
   return 0;
}


-- 



More information about the Digitalmars-d-bugs mailing list