Philipp Stephani
93be35e038
Fix encoding of JSON surrogate pairs
...
JSON requires that such pairs be treated as UTF-16 surrogate pairs, not
individual code points; cf. Bug #24784 .
* lisp/json.el (json-read-escaped-char): Fix decoding of surrogate
pairs.
(json--decode-utf-16-surrogates): New defun.
* test/lisp/json-tests.el (test-json-read-string): Add test for
surrogate pairs.
2017-01-01 13:24:14 +01:00
..
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 13:24:14 +01:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00