aliases

Encoding.aliases รข {"alias1" => "orig1", "alias2" => "orig2", ...}
Class Public methods

Returns the hash of available encoding alias and original encoding name.

Encoding.aliases
#=> {"BINARY"=>"ASCII-8BIT", "ASCII"=>"US-ASCII", "ANSI_X3.4-1986"=>"US-ASCII",
      "SJIS"=>"Shift_JIS", "eucJP"=>"EUC-JP", "CP932"=>"Windows-31J"}
doc_ruby_on_rails
2015-04-04 21:02:10
Comments
Leave a Comment

Please login to continue.