method

lc2kconv

ruby latest stable - Class: IRB::Locale

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

lc2kconv(lang)
private

No documentation available.

# File lib/irb/locale.rb, line 28
    def lc2kconv(lang)
      case lang
      when "ja_JP.ujis", "ja_JP.euc", "ja_JP.eucJP"
        Kconv::EUC
      when "ja_JP.sjis", "ja_JP.SJIS"
        Kconv::SJIS
      when /ja_JP.utf-?8/i
        Kconv::UTF8
      end
    end