jansson/test/testdata/invalid-unicode
Petri Lehtinen f60c563bab Enhance test system
- Tests are now named
- Testlogs are preserved between runs
- Tests can be run through Valgrind Memcheck tool
2009-07-28 10:36:16 +03:00

91 lines
1.7 KiB
Plaintext
Raw Blame History

==== lone-invalid-utf-8 ====
å
====
-1
unable to decode byte 0xe5 at position 0
==== invalid-utf-8-in-string ====
["å <-- invalid UTF-8"]
====
-1
unable to decode byte 0xe5 at position 2
==== invalid-utf-8-in-array ====
[å]
====
-1
unable to decode byte 0xe5 at position 1
==== invalid-utf-8-in-identifier ====
[aå]
====
-1
unable to decode byte 0xe5 at position 2
==== invalid-utf-8-in-escape ====
["\uå"]
====
-1
unable to decode byte 0xe5 at position 4
==== invalid-utf-8-after-backslash ====
["\å"]
====
-1
unable to decode byte 0xe5 at position 3
==== invalid-utf-8-in-int ====
[0å]
====
-1
unable to decode byte 0xe5 at position 2
==== invalid-utf-8-in-bigger-int ====
[123å]
====
-1
unable to decode byte 0xe5 at position 4
==== invalid-utf-8-in-real-after-e ====
[1eå]
====
-1
unable to decode byte 0xe5 at position 3
==== invalid-utf-8-in-exponent ====
[1e1å]
====
-1
unable to decode byte 0xe5 at position 4
==== lone-utf-8-continuation-byte ====
["<22>"]
====
-1
unable to decode byte 0x81 at position 2
==== overlong-ascii-encoding ====
["Á"]
====
-1
unable to decode byte 0xc1 at position 2
==== restricted-utf-8 ====
["ý"]
====
-1
unable to decode byte 0xfd at position 2
==== not-in-unicode-range ====
["ô¿¿¿"]
====
-1
unable to decode byte 0xf4 at position 2
==== overlong-3-byte-encoding ====
["à€¢ <-- overlong encoding"]
====
-1
unable to decode byte 0xe0 at position 2
==== overlong-4-byte-encoding ====
["ð€€¢ <-- overlong encoding"]
====
-1
unable to decode byte 0xf0 at position 2
==== truncated-utf-8 ====
["àÿ <-- truncated UTF-8"]
====
-1
unable to decode byte 0xe0 at position 2
==== encoded-surrogate-half ====
["í¢« <-- encoded surrogate half"]
====
-1
unable to decode byte 0xed at position 2