urbit/pkg
Alex Shelkovnykov 3d93e9f527 Fix JSON parser decoding for escaped unicode
JSON supports Unicode as both UTF8 sequences and escaped UTF16. Unicode
points U+10000 to U+10FFFF are encoded as two consecutive escaped UTF16
units known as a surrogate pair. The JSON decoder was previously
treating surrogate pairs as two individual escaped UTF16 units. In
addition, the JSON standard allows hexadecimal letters to be either
uppercase or lowercase, which the parser was not respecting.

See:
- https://www.crockford.com/mckeeman.html
- https://www.json.org/json-en.html
- https://en.wikipedia.org/wiki/UTF-16#Code_points_from_U+010000_to_U+10FFFF

Git issue: #1776
2023-04-11 14:59:15 -06:00
..
arvo Fix JSON parser decoding for escaped unicode 2023-04-11 14:59:15 -06:00
autoprop Merge pull request #6328 from urbit/autoprop-link 2023-03-16 08:46:20 -07:00
base-dev +vats: fix crash on nonexistent desks 2023-04-07 15:19:24 -04:00
herb Revert "Revert "Merge naive/aggregator into poprox/naive-tests"" 2021-08-19 16:09:28 -07:00
interface webterm: remove 2023-02-22 19:10:11 +01:00
landscape meta: update for kelvin 2023-03-22 10:39:15 -05:00
symbolic-merge.sh pkg/symbolic-merge.sh from @Fang- 2021-08-30 20:19:16 +03:00