[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 11:13:16 PDT 2014


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

Justin Whear <justin at economicmodeling.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |justin at economicmodeling.com

--- Comment #1 from Justin Whear <justin at economicmodeling.com> ---
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