Skip to content

Commit

Permalink
認識可能なエイリアスを拡充する
Browse files Browse the repository at this point in the history
  • Loading branch information
Kohki Akikaze committed Oct 2, 2020
1 parent 9b08d6d commit 697a7fd
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions sakura_core/charset/CESI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -776,19 +776,39 @@ static const struct{
{ "euc-jp", 6, CODE_EUC },
{ "euc_jp", 6, CODE_EUC },
{ "eucjp", 5, CODE_EUC },
{ "cseucpkdfmtjapanese", 19, CODE_EUC },
{ "extended_unix_code_packed_format_for_japanese", 45, CODE_EUC },
{ "x-euc-jp", 8, CODE_EUC },
// { "utf-7", 5, CODE_UTF7 },
// { "csutf7", 6, CODE_UTF7 },
{ "utf-8", 5, CODE_UTF8 },
{ "utf_8", 5, CODE_UTF8 },
{ "utf8", 4, CODE_UTF8 },
{ "csutf8", 6, CODE_UTF8 },
{ "unicode-1-1-utf-8", 17, CODE_UTF8 },
{ "unicode11utf8", 13, CODE_UTF8 },
{ "unicode20utf8", 13, CODE_UTF8 },
{ "x-unicode20utf8", 15, CODE_UTF8 },
{ "cesu-8", 6, CODE_CESU8 },
{ "cscesu-8", 6, CODE_CESU8 },
{ "cscesu8", 7, CODE_CESU8 },
{ "iso-8859-1", 10, CODE_LATIN1 },
{ "latin1", 6, CODE_LATIN1 },
{ "latin-1", 7, CODE_LATIN1 },
{ "iso8859_1", 9, CODE_LATIN1 },
{ "iso_8859_1", 10, CODE_LATIN1 },
{ "iso88591", 8, CODE_LATIN1 },
{ "cp819", 5, CODE_LATIN1 },
{ "csisolatin1", 11, CODE_LATIN1 },
{ "ibm819", 6, CODE_LATIN1 },
{ "iso-ir-100", 10, CODE_LATIN1 },
{ "iso8859-1", 9, CODE_LATIN1 },
{ "iso_8859-1", 10, CODE_LATIN1 },
{ "l1", 2, CODE_LATIN1 },
{ "windows-1252", 12, CODE_LATIN1 },
{ "cp1252", 6, CODE_LATIN1 },
{ "cswindows1252", 13, CODE_LATIN1 },
{ "x-cp1252", 8, CODE_LATIN1 },
{"ibm437", 6, 437},
{"asmo-708", 8, 708},
{"dos-720", 7, 720},
Expand Down

0 comments on commit 697a7fd

Please sign in to comment.