Class Mechanize::Util
In: lib/mechanize/util.rb
Parent: Object

Constants

CODE_DIC = { NKF::JIS => "ISO-2022-JP", NKF::EUC => "EUC-JP", NKF::SJIS => "SHIFT_JIS", NKF::UTF8 => "UTF-8", NKF::UTF16 => "UTF-16", NKF::UTF32 => "UTF-32", }
NEW_RUBY_ENCODING = RUBY_VERSION >= '1.9.0'   true if RUBY_VERSION is 1.9.0 or later
ENCODING_ERRORS = if NEW_RUBY_ENCODING   contains encoding error classes to raise

[Validate]