Module: DataObjects::Mysql::Encoding

Defined in:
lib/do_mysql/encoding.rb

Constant Summary collapse

MAP =
{
  "Big5"         => "big5",
  "CP850"        => "cp850",
  "KOI8-R"       => "koi8r",
  "ISO-8859-1"   => "latin1",
  "ISO-8859-2"   => "latin2",
  "US-ASCII"     => "ascii",
  "EUC-JP"       => "ujis",
  "SJIS"         => "sjis",
  "ISO-8859-8"   => "hebrew",
  "TIS-620"      => "tis620",
  "EUC-KR"       => "euckr",
  "KOI8-U"       => "koi8u",
  "GB2312"       => "gb2312",
  "ISO-8859-7"   => "greek",
  "Windows-1250" => "cp1250",
  "GBK"          => "gbk",
  "ISO-8859-9"   => "latin5",
  "UTF-8"        => "utf8",
  "UTF-8-MB4"    => "utf8mb4",
  "UTF-16BE"     => "ucs2",
  "IBM866"       => "cp866",
  "macCentEuro"  => "macce",
  "macRoman"     => "macroman",
  "CP852"        => "cp852",
  "ISO-8859-13"  => "latin7",
  "Windows-1251" => "cp1251",
  "Windows-1256" => "cp1256",
  "Windows-1257" => "cp1257",
  "ASCII-8BIT"   => "binary",
  "Windows-31J"  => "cp932",
  "eucJP-ms"     => "eucjpms"
}