diff options
author | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-26 05:36:23 +0000 |
---|---|---|
committer | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-26 05:36:23 +0000 |
commit | 317948160bc929cd73a323d0eac33c8df896eb41 (patch) | |
tree | 7cbd648c5cbbe88867918969206a8c332289ffe6 /lib/irb/locale.rb | |
parent | a5df717c8ee7554b0b18d2ad50f49b6b2aadcdd4 (diff) | |
download | ruby-317948160bc929cd73a323d0eac33c8df896eb41.tar.gz |
* lib/irb/init.rb: make IRB -I option that is same befavior for ruby.
[ruby-dev:26872]
* lib/irb/locale.rb: support to print help message when OS locale is
ja_JP.utf-8. [ruby-dev:26872]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb/locale.rb')
-rw-r--r-- | lib/irb/locale.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/irb/locale.rb b/lib/irb/locale.rb index ddd2187680..4b6aba2bb9 100644 --- a/lib/irb/locale.rb +++ b/lib/irb/locale.rb @@ -31,6 +31,8 @@ module IRB Kconv::EUC when "ja_JP.sjis", "ja_JP.SJIS" Kconv::SJIS + when /ja_JP.utf-?8/i + Kconv::UTF8 end end private :lc2kconv |