ruby-changes:4046
From: ko1@a...
Date: Mon, 18 Feb 2008 13:09:32 +0900 (JST)
Subject: [ruby-changes:4046] akr - Ruby:r15536 (trunk): * lib/irb/locale.rb (IRB::Locale#lc2kconv): check ja_JP.EUC-JP as well.
akr 2008-02-18 13:07:56 +0900 (Mon, 18 Feb 2008)
New Revision: 15536
Modified files:
trunk/ChangeLog
trunk/lib/irb/locale.rb
Log:
* lib/irb/locale.rb (IRB::Locale#lc2kconv): check ja_JP.EUC-JP as well.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15536&r2=15535&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/irb/locale.rb?r1=15536&r2=15535&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 15535)
+++ ChangeLog (revision 15536)
@@ -1,3 +1,7 @@
+Mon Feb 18 13:06:37 2008 Tanaka Akira <akr@f...>
+
+ * lib/irb/locale.rb (IRB::Locale#lc2kconv): check ja_JP.EUC-JP as well.
+
Mon Feb 18 11:51:19 2008 Tanaka Akira <akr@f...>
* re.c (re_warn): defined to restore warnings for /[a-c-e]/, etc.
Index: lib/irb/locale.rb
===================================================================
--- lib/irb/locale.rb (revision 15535)
+++ lib/irb/locale.rb (revision 15536)
@@ -26,7 +26,7 @@
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
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/