Skip to content

Commit 213908f

Browse files
committed
Test decoding invalid byte in CP1252
1 parent 647f921 commit 213908f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/runtests.jl

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ using iconv
55
@show encode("café", "UTF-16LE")
66
@show encode("café", "UTF-16BE")
77

8+
@show decode([0x81], "CP1252")
9+
810
for s in ("", "\0", "a", "café crème",
911
"a"^(iconv.BUFSIZE-1) * "€ with an incomplete codepoint between two input buffer fills",
1012
"a string € チャネルパートナーの選択",

0 commit comments

Comments
 (0)