diff options
Diffstat (limited to 'testsuite/tests/lib/IO/encoding002.stdout')
-rw-r--r-- | testsuite/tests/lib/IO/encoding002.stdout | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/testsuite/tests/lib/IO/encoding002.stdout b/testsuite/tests/lib/IO/encoding002.stdout new file mode 100644 index 0000000000..70addd37f5 --- /dev/null +++ b/testsuite/tests/lib/IO/encoding002.stdout @@ -0,0 +1,61 @@ +== UTF-8: roundtripping +[72,105,237,178,128,33] +"Hi\61421\61362\61312!" +[72,105,237,178,128,33] +True + +== UTF-8: decoding +"recoverDecode: invalid argument (invalid byte sequence)" +"Hi!" +"Hi\65533\65533\65533!" +"Hi\61421\61362\61312!" +== UTF-8: encoding +[] +[72,105,33] +[72,105,63,33] +[72,105,128,33] + +== UTF-16LE: decoding +"recoverDecode: invalid argument (invalid byte sequence)" +"Hi\65503\8671" +"Hi\65533\65503\8671\65533" +"Hi\61439\65503\8671\NUL" +== UTF-16LE: encoding +[] +[72,0,105,0,33,0] +[72,0,105,0,63,0,33,0] +[72,0,105,0,128,33,0] + +== UTF-16BE: decoding +"recoverDecode: invalid argument (invalid byte sequence)" +"Hi\65503\65280" +"Hi\65533\65503\65280\65533" +"Hi\61407\65503\65280!" +== UTF-16BE: encoding +[] +[0,72,0,105,0,33] +[0,72,0,105,0,63,0,33] +[0,72,0,105,128,0,33] + +== UTF-32LE: decoding +"recoverDecode: invalid argument (invalid byte sequence)" +"Hi\8448" +"Hi\65533\65533\65533\8448\65533" +"Hi\61421\61362\61312\8448\NUL" +== UTF-32LE: encoding +[] +[72,0,0,0,105,0,0,0,33,0,0,0] +[72,0,0,0,105,0,0,0,63,0,0,0,33,0,0,0] +[72,0,0,0,105,0,0,0,128,33,0,0,0] + +== UTF-32BE: decoding +"recoverDecode: invalid argument (invalid byte sequence)" +"Hi!" +"Hi\65533\65533\65533\65533!" +"Hi\NUL\61312\61362\61421!" +== UTF-32BE: encoding +[] +[0,0,0,72,0,0,0,105,0,0,0,33] +[0,0,0,72,0,0,0,105,0,0,0,63,0,0,0,33] +[0,0,0,72,0,0,0,105,128,0,0,0,33] + |