Bug 15178 – "Try D" widget on homepage mangles Unicode

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2015-10-08T11:44:24Z
Last change time
2018-01-07T14:41:44Z
Assigned to
Damian Ziemba
Creator
drthingums

Comments

Comment #0 by drthingums — 2015-10-08T11:44:24Z
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
Comment #1 by greensunny12 — 2018-01-07T14:41:44Z
This has been fixed by switch to run.dlang.io