method

lc2kconv

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - 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

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# 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
Register or log in to add new notes.