[Issue 17553] std.json should not do UTF decoding when encoding JSON

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jun 26 05:23:30 PDT 2017


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

Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---
            Summary|std.json invalid utf8       |std.json should not do UTF
                   |sequence                    |decoding when encoding JSON

--- Comment #2 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
RFC 7159 specifies that Unicode control characters don't need escaping, so
actually we can avoid auto-decoding when encoding JSON.

--


More information about the Digitalmars-d-bugs mailing list