Module REXML::Encoding
In: lib/rexml/encoding.rb
lib/rexml/encodings/EUC-JP.rb
lib/rexml/encodings/CP-1252.rb
lib/rexml/encodings/ISO-8859-1.rb
lib/rexml/encodings/UTF-8.rb
lib/rexml/encodings/UNILE.rb
lib/rexml/encodings/US-ASCII.rb
lib/rexml/encodings/ISO-8859-15.rb
lib/rexml/encodings/ICONV.rb
lib/rexml/encodings/SHIFT-JIS.rb
lib/rexml/encodings/UTF-16.rb

Methods

Constants

UTF_8 = 'UTF-8'   Native, default format is UTF-8, so it is declared here rather than in an encodings/ definition.
UTF_16 = 'UTF-16'
UNILE = 'UNILE'
EUCTOU8 = '-Ewm0'
U8TOEUC = '-Wem0'
SJISTOU8 = '-Swm0'
U8TOSJIS = '-Wsm0'

External Aliases

to_iso_8859_15 -> encode
from_iso_8859_15 -> decode

Attributes

encoding  [R]  ID —> Encoding name

Public Class methods

Public Instance methods

Convert to UTF-8

Convert to UTF-8

Convert from UTF-8

Convert from UTF-8

Convert to UTF-8

Convert from UTF-8

[Validate]

ruby-doc.org is hosted and maintained by James Britt and Rising Tide Software, a Ruby application development company in Phoenix, Arizona. The site was created in 2002 as part of the Ruby Documentation Project to promote the Ruby language and to help other Ruby hackers.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.