[Issue 12897] std.json.toJSON doesn't translate unicode chars(>=0x80) to "\uXXXX"

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jul 11 18:13:01 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12897

--- Comment #2 from egustc at gmail.com ---
OK... I used Python but didn't decode first and got a problem. 

(In reply to Justin Whear from comment #1)
> Looking at the spec
> (http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf)
> it appears that while strings _may_ encode characters using the escape
> sequence, they are not _required_ to for any range of characters.  On the
> face of it it seems that std.json is conformant and other languages are not.
> Which parsers are unable to handle the raw UTF-8?

--


More information about the Digitalmars-d-bugs mailing list