Expand parser and Unicode test coverage
[jansson.git] / test / testdata / invalid-unicode
1 å
2 ====
3 -1
4 unable to decode byte 0xe5 at position 0
5 ========
6 ["å <-- invalid UTF-8"]
7 ====
8 -1
9 unable to decode byte 0xe5 at position 2
10 ========
11 [å]
12 ====
13 -1
14 unable to decode byte 0xe5 at position 1
15 ========
16 [aå]
17 ====
18 -1
19 unable to decode byte 0xe5 at position 2
20 ========
21 ["\uå"]
22 ====
23 -1
24 unable to decode byte 0xe5 at position 4
25 ========
26 ["\å"]
27 ====
28 -1
29 unable to decode byte 0xe5 at position 3
30 ========
31 [0å]
32 ====
33 -1
34 unable to decode byte 0xe5 at position 2
35 ========
36 [123å]
37 ====
38 -1
39 unable to decode byte 0xe5 at position 4
40 ========
41 [1eå]
42 ====
43 -1
44 unable to decode byte 0xe5 at position 3
45 ========
46 [1e1å]
47 ====
48 -1
49 unable to decode byte 0xe5 at position 4
50 ========
51 ["\81"]
52 ====
53 -1
54 unable to decode byte 0x81 at position 2
55 ========
56 ["Á"]
57 ====
58 -1
59 unable to decode byte 0xc1 at position 2
60 ========
61 ["ý"]
62 ====
63 -1
64 unable to decode byte 0xfd at position 2
65 ========
66 [""]
67 ====
68 -1
69 unable to decode byte 0xf4 at position 2
70 ========
71 ["à\80¢ <-- overlong encoding"]
72 ====
73 -1
74 unable to decode byte 0xe0 at position 2
75 ========
76 ["ð\80\80¢ <-- overlong encoding"]
77 ====
78 -1
79 unable to decode byte 0xf0 at position 2
80 ========
81 ["àÿ <-- truncated UTF-8"]
82 ====
83 -1
84 unable to decode byte 0xe0 at position 2
85 ========
86 [" <-- encoded surrogate half"]
87 ====
88 -1
89 unable to decode byte 0xed at position 2