[Issue 15178] New: "Try D" widget on homepage mangles Unicode
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Thu Oct  8 04:44:24 PDT 2015
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15178
          Issue ID: 15178
           Summary: "Try D" widget on homepage mangles Unicode
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dlang.org
          Assignee: nobody at puremagic.com
          Reporter: drthingums at msn.com
If I run this sample on the websites "Try D" widget:
// Sort lines
import std.stdio;
import std.array;
import std.algorithm;
void main()
{
    stdin
        .byLine(KeepTerminator.yes)
        .map!(a => a.idup)
        .array
        .sort
        .copy(stdout.lockingTextWriter());
}
with this data:
fish
こんにちは
学生
Pūkeko
salami
Tent
Patrick
Python
I get the following:
P\u016bkeko
Patrick
Python
Tent
\u3053\u3093\u306b\u3061\u306f
\u5b66\u751f
fish
salami
--
    
    
More information about the Digitalmars-d-bugs
mailing list