Ruby REXML::Encoding Functions

EditRocket provides the following information on REXML::Encoding functions in the Ruby source code builder.

apply(obj, enc) -

check_encoding(str) -

decode_ascii(str) - Convert to UTF-8

decode_cp1252(str) - Convert to UTF-8

decode_eucjp(str) -

decode_iconv(str) -

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_iconv(content) -

encode_sjis(content) -

encode_unile(content) -

encode_utf16(content) -

encode_utf8(content) -

encoding=( enc ) -

encoding_method(enc) -

from_iso_8859_15(str) - Convert to UTF-8

register(enc, &block) -

to_iso_8859_15(content) - Convert from UTF-8