summary refs log tree commit diff stats
path: root/tinyc
diff options
context:
space:
mode:
authorDaniel Hertz <daniel@dhertz.com>2015-10-13 14:35:17 -0400
committerDaniel Hertz <daniel@dhertz.com>2015-10-13 14:42:24 -0400
commite5bcd287f863f865b43a9c6807b085f44e00bbfe (patch)
treee4a2ae5b1ba718afbb8be4dde1b5909eaa7ed75a /tinyc
parent7f4f37eaa20ea8aa5cf8c34e497aaa8245c590b3 (diff)
downloadNim-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