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:
parent
069649389c
commit
939729dd82
Notes:
git
2021-01-06 21:58:59 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue