Module

XSD::Charset

Inheritance

Classes & Modules

Constants

Name   Description
CharsetMap = { 'NONE' => 'us-ascii', 'EUC' => 'euc-jp', 'SJIS' => 'shift_jis', 'UTF8' => 'utf-8', 'X_ISO_8859_1' => 'iso-8859-1', 'X_UNKNOWN' => nil, }
EUCRegexp = Regexp.new("\\A#{character_euc}*\\z", nil, "NONE")
EncodingConvertMap = {} Maps
SJISRegexp = Regexp.new("\\A#{character_sjis}*\\z", nil, "NONE")
USASCIIRegexp = Regexp.new("\\A#{us_ascii}*\\z", nil, "NONE")
UTF8Regexp = Regexp.new("\\A#{character_utf8}*\\z", nil, "NONE")

Methods

Class

Visibility Signature
public charset_label (encoding)
public charset_str (label)
public encoding ()
public encoding= (encoding)
public encoding_conv (str, enc_from, enc_to)
public encoding_from_xml (str, charset)
public encoding_to_xml (str, charset)
public init ()
public is_ces (str, code = $KCODE)
public is_euc (str)
public is_sjis (str)
public is_us_ascii (str)
public is_utf8 (str)
public xml_encoding_label ()

Class Method Detail

charset_label(encoding)

charset_str(label)

encoding()

handlers

encoding=(encoding)

encoding_conv(str, enc_from, enc_to)

encoding_from_xml(str, charset)

encoding_to_xml(str, charset)

init()

is_ces(str, code = $KCODE)

is_euc(str)

is_sjis(str)

is_us_ascii(str)

is_utf8(str)

xml_encoding_label()