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

### Methods

apply check_encoding decode_ascii decode_cp1252 decode_eucjp decode_eucjp decode_iconv decode_sjis decode_sjis decode_unile decode_utf16 decode_utf8 encode_ascii encode_cp1252 encode_eucjp encode_eucjp encode_iconv encode_sjis encode_sjis encode_unile encode_utf16 encode_utf8 encoding= encoding_method from_iso_8859_15 register to_iso_8859_15

### Constants

SJISTOU8 | = | '-Swm0'
U8TOSJIS | = | '-Wsm0'
EUCTOU8 | = | '-Ewm0'
U8TOEUC | = | '-Wem0'
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'

### External Aliases

to_iso_8859_15 | -> | encode
from_iso_8859_15 | -> | decode

### Attributes

encoding | [R] | ID —> Encoding name

### Public Class methods

apply(obj, enc)
encoding_method(enc)
register(enc, &block)

### Public Instance methods

check_encoding(str)
decode_ascii(str)

Convert to UTF-8

decode_cp1252(str)

Convert to UTF-8

decode_eucjp(str)
decode_eucjp(str)
decode_iconv(str)
decode_sjis(content)
decode_sjis(str)
decode_unile(str)
decode_utf16(str)
decode_utf8(str)
encode_ascii(content)

Convert from UTF-8

encode_cp1252(content)

Convert from UTF-8

encode_eucjp(content)
encode_eucjp(content)
encode_iconv(content)
encode_sjis(str)
encode_sjis(content)
encode_unile(content)
encode_utf16(content)
encode_utf8(content)
encoding=( enc )
from_iso_8859_15(str)

Convert to UTF-8

to_iso_8859_15(content)

Convert from UTF-8

[Validate]