* lib/irb/locale.rb (IRB::Locale#lc2kconv): check ja_JP.EUC-JP as well.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-02-18 04:07:56 +00:00
parent d77ddf33ae
commit b2b3f25c37
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Mon Feb 18 13:06:37 2008 Tanaka Akira <akr@fsij.org>
* lib/irb/locale.rb (IRB::Locale#lc2kconv): check ja_JP.EUC-JP as well.
Mon Feb 18 11:51:19 2008 Tanaka Akira <akr@fsij.org>
* re.c (re_warn): defined to restore warnings for /[a-c-e]/, etc.

View File

@ -26,7 +26,7 @@ module IRB
def lc2kconv(lang)
case lang
when "ja_JP.ujis", "ja_JP.euc", "ja_JP.eucJP"
when "ja_JP.ujis", "ja_JP.euc", "ja_JP.eucJP", "ja_JP.EUC-JP"
Kconv::EUC
when "ja_JP.sjis", "ja_JP.SJIS"
Kconv::SJIS