diff options
author | Daniel Hertz <daniel@dhertz.com> | 2015-10-13 14:35:17 -0400 |
---|---|---|
committer | Daniel Hertz <daniel@dhertz.com> | 2015-10-13 14:42:24 -0400 |
commit | e5bcd287f863f865b43a9c6807b085f44e00bbfe (patch) | |
tree | e4a2ae5b1ba718afbb8be4dde1b5909eaa7ed75a /tinyc | |
parent | 7f4f37eaa20ea8aa5cf8c34e497aaa8245c590b3 (diff) | |
download | Nim-e5bcd287f863f865b43a9c6807b085f44e00bbfe.tar.gz |
Make sure the json module decodes UTF16 correctly
Javascript uses UTF-16 as its internal representation of strings, so JSON does so as well. This means that we could have surrogate pairs, with codepoints above 0xFFFF that take 2 ecape codes to decode.
Diffstat (limited to 'tinyc')
0 files changed, 0 insertions, 0 deletions