@@ -53,51 +53,50 @@ Testing error locations with UTF-16 surrogate pairs and escape sequences
5353
5454Error after UTF-16 escaped emoji:
5555bool(false)
56- int(3 )
57- string(72 ) "Control character error, possibly incorrectly encoded near location 1:11"
56+ int(4 )
57+ string(31 ) "Syntax error near location 1:11"
5858
5959Error after multiple UTF-16 pairs:
6060bool(false)
61- int(3 )
62- string(72 ) "Control character error, possibly incorrectly encoded near location 1:10"
61+ int(4 )
62+ string(31 ) "Syntax error near location 1:10"
6363
6464Error with mixed UTF-8 and UTF-16:
6565bool(false)
66- int(3 )
67- string(72 ) "Control character error, possibly incorrectly encoded near location 1:11"
66+ int(4 )
67+ string(31 ) "Syntax error near location 1:11"
6868
6969Error with UTF-16 in key:
7070bool(false)
71- int(3 )
72- string(71 ) "Control character error, possibly incorrectly encoded near location 1:9"
71+ int(4 )
72+ string(30 ) "Syntax error near location 1:9"
7373
7474Error with multiple UTF-16 keys:
7575bool(false)
76- int(3 )
77- string(72 ) "Control character error, possibly incorrectly encoded near location 1:22"
76+ int(4 )
77+ string(31 ) "Syntax error near location 1:22"
7878
7979Error with BMP characters:
8080bool(false)
81- int(3 )
82- string(72 ) "Control character error, possibly incorrectly encoded near location 1:10"
81+ int(4 )
82+ string(31 ) "Syntax error near location 1:10"
8383
8484Error with supplementary plane:
8585bool(false)
86- int(3 )
87- string(72 ) "Control character error, possibly incorrectly encoded near location 1:11"
86+ int(4 )
87+ string(31 ) "Syntax error near location 1:11"
8888
8989Error in array with UTF-16:
9090bool(false)
91- int(3 )
92- string(72 ) "Control character error, possibly incorrectly encoded near location 1:12"
91+ int(4 )
92+ string(31 ) "Syntax error near location 1:12"
9393
9494Error in nested structure with UTF-16:
9595bool(false)
96- int(3 )
97- string(72 ) "Control character error, possibly incorrectly encoded near location 1:18"
96+ int(4 )
97+ string(31 ) "Syntax error near location 1:18"
9898
9999Error with UTF-16 and control chars:
100100bool(false)
101- int(3)
102- string(72) "Control character error, possibly incorrectly encoded near location 1:10"
103-
101+ int(4)
102+ string(31) "Syntax error near location 1:10"
0 commit comments