summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuhiro IMAI <nov@yo.rim.or.jp>2021-01-06 18:47:25 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-06 21:58:34 +0900
commit939729dd823ff5a71c7f203b8d6e5e5976e31d4f (patch)
tree531399fb71df5d4e903580b270075547364e130e
parent069649389cf2019782c7a11becf6391a67c68a9a (diff)
fix result of example [ci skip]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4031
-rw-r--r--transcode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/transcode.c b/transcode.c
index a72afdc..dcb85a5 100644
--- a/transcode.c
+++ b/transcode.c
@@ -3959,7 +3959,7 @@ econv_finish(VALUE self)
* ec = Encoding::Converter.new("EUC-JP", "Shift_JIS")
* ec.primitive_convert(src="\xff", dst="", nil, 10)
* 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.
* # Since this error is occur in UTF-8 to ISO-8859-1 conversion,