1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Json: Parse surrogate-pairs correctly in unicode-escaped strings [#487]

This commit is contained in:
gnosygnu
2019-06-02 16:43:39 -04:00
parent 641a17621f
commit 43cc4b15e8
4 changed files with 33 additions and 5 deletions

View File

@@ -46,6 +46,6 @@ public class Ustring_ {
, Surrogate_lo_end = 0xDFFF // 57,343: Surrogate low end
, Surrogate_cp_bgn = 0x010000 // 65,536: Surrogate codepoint start
, Surrogate_cp_end = 0x10FFFF // 1,114,111: Surrogate codepoint end
, Surrogate_range = 0x400 // 1,024: Surrogate range (end - start) for high / low
, Surrogate_range = 0x400 // 1,024: Surrogate range (end - start) for high / low
;
}