1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fix result of example [ci skip]

This commit is contained in:
Nobuhiro IMAI 2021-01-06 18:47:25 +09:00 committed by Nobuyoshi Nakada
parent 069649389c
commit 939729dd82
Notes: git 2021-01-06 21:58:59 +09:00

View file

@ -3959,7 +3959,7 @@ econv_finish(VALUE self)
* ec = Encoding::Converter.new("EUC-JP", "Shift_JIS") * ec = Encoding::Converter.new("EUC-JP", "Shift_JIS")
* ec.primitive_convert(src="\xff", dst="", nil, 10) * ec.primitive_convert(src="\xff", dst="", nil, 10)
* p ec.primitive_errinfo * p ec.primitive_errinfo
* #=> [:invalid_byte_sequence, "EUC-JP", "UTF-8", "\xFF", ""] * #=> [:invalid_byte_sequence, "EUC-JP", "Shift_JIS", "\xFF", ""]
* *
* # HIRAGANA LETTER A (\xa4\xa2 in EUC-JP) is not representable in ISO-8859-1. * # HIRAGANA LETTER A (\xa4\xa2 in EUC-JP) is not representable in ISO-8859-1.
* # Since this error is occur in UTF-8 to ISO-8859-1 conversion, * # Since this error is occur in UTF-8 to ISO-8859-1 conversion,