From 9f8cf6559a9cdc6a40e80e89983d7049ed847e1a Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 1 Sep 2008 10:38:16 +0000 Subject: * tool/transcode-tblgen.rb: ValidEncoding['eucJP-ms'] defined. "\xA2\xAF".encode("utf-8", "eucJP-ms") should raise Encoding::ConversionUndefined, not Encoding::InvalidByteSequence. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/transcode-tblgen.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'tool/transcode-tblgen.rb') diff --git a/tool/transcode-tblgen.rb b/tool/transcode-tblgen.rb index fe84703ce6..a09bf7ba0b 100644 --- a/tool/transcode-tblgen.rb +++ b/tool/transcode-tblgen.rb @@ -667,6 +667,7 @@ ValidEncoding = { 'ISO-8859-14' => '1byte', 'ISO-8859-15' => '1byte', 'Windows-31J' => 'Shift_JIS', + 'eucJP-ms' => 'EUC-JP' }.each {|k, v| ValidEncoding[k] = ValidEncoding.fetch(v) } -- cgit v1.2.1