Module

Kanji Converter for Ruby.


Guess input encoding by NKF.guess

Returns whether input encoding is EUC-JP or not.

Note don't expect this return value is MatchData.

Returns whether input encoding is ISO-2022-JP or not.

Returns whether input encoding is Shift_JIS or not.

Returns whether input encoding is UTF-8 or not.

Convert str to to_enc. to_enc and from_enc are given as constants of Kconv or Encoding objects.

Convert str to EUC-JP

Convert str to ISO-2022-JP

Convert self to locale encoding

Convert str to Shift_JIS

Convert str to UTF-16

Convert str to UTF-32

Convert str to UTF-8