ruby-changes:64773
From: Nobuhiro <ko1@a...>
Date: Wed, 6 Jan 2021 21:58:49 +0900 (JST)
Subject: [ruby-changes:64773] 939729dd82 (master): fix result of example [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=939729dd82 From 939729dd823ff5a71c7f203b8d6e5e5976e31d4f Mon Sep 17 00:00:00 2001 From: Nobuhiro IMAI <nov@y...> Date: Wed, 6 Jan 2021 18:47:25 +0900 Subject: fix result of example [ci skip] 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) https://github.com/ruby/ruby/blob/trunk/transcode.c#L3959 * 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, -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/