Skip to content

Commit

Permalink
compile encoding hash header
Browse files Browse the repository at this point in the history
  • Loading branch information
manlon committed Apr 17, 2015
1 parent e1c3020 commit 27057c6
Showing 1 changed file with 32 additions and 28 deletions.
60 changes: 32 additions & 28 deletions ext/mysql2/mysql_enc_to_ruby.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ const char *mysql2_mysql_enc_to_rb[] = {
"ISO-8859-2",
NULL,
"CP850",
"ISO-8859-1",
"UTF-8",
NULL,
"KOI8-R",
"ISO-8859-1",
"UTF-8",
"ISO-8859-2",
NULL,
"US-ASCII",
"eucJP-ms",
"Shift_JIS",
"Windows-1251",
"ISO-8859-1",
"UTF-8",
"ISO-8859-8",
NULL,
"TIS-620",
Expand All @@ -29,7 +29,7 @@ const char *mysql2_mysql_enc_to_rb[] = {
"GBK",
"Windows-1257",
"ISO-8859-9",
"ISO-8859-1",
"UTF-8",
NULL,
"UTF-8",
"Windows-1250",
Expand All @@ -45,22 +45,22 @@ const char *mysql2_mysql_enc_to_rb[] = {
"Windows-1250",
"UTF-8",
"UTF-8",
"ISO-8859-1",
"ISO-8859-1",
"ISO-8859-1",
"UTF-8",
"UTF-8",
"UTF-8",
"Windows-1251",
"Windows-1251",
"Windows-1251",
"macRoman",
"UTF-16",
"UTF-16",
NULL,
"",
"Windows-1256",
"Windows-1257",
"Windows-1257",
"UTF-32",
"UTF-32",
NULL,
"",
"ASCII-8BIT",
NULL,
"US-ASCII",
Expand Down Expand Up @@ -92,7 +92,7 @@ const char *mysql2_mysql_enc_to_rb[] = {
"eucJP-ms",
NULL,
NULL,
"ISO-8859-1",
"UTF-8",
"Windows-31J",
"Windows-31J",
"eucJP-ms",
Expand All @@ -119,10 +119,10 @@ const char *mysql2_mysql_enc_to_rb[] = {
"UTF-16",
"UTF-16",
"UTF-16",
NULL,
NULL,
NULL,
NULL,
"UTF-16",
"UTF-16",
"UTF-16",
"UTF-16",
NULL,
NULL,
NULL,
Expand All @@ -146,18 +146,22 @@ const char *mysql2_mysql_enc_to_rb[] = {
"UTF-16BE",
"UTF-16BE",
"UTF-16BE",
"UTF-16BE",
"UTF-16BE",
"UTF-16BE",
"UTF-16BE",
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
"UTF-16BE",
"UTF-32",
"UTF-32",
"UTF-32",
"UTF-32",
"UTF-32",
"UTF-32",
"UTF-32",
Expand All @@ -178,10 +182,6 @@ const char *mysql2_mysql_enc_to_rb[] = {
"UTF-32",
"UTF-32",
"UTF-32",
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
Expand Down Expand Up @@ -210,18 +210,22 @@ const char *mysql2_mysql_enc_to_rb[] = {
"UTF-8",
"UTF-8",
"UTF-8",
"UTF-8",
"UTF-8",
"UTF-8",
"UTF-8",
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
"UTF-8",
"UTF-8",
"UTF-8",
"UTF-8",
"UTF-8",
"UTF-8",
"UTF-8",
"UTF-8",
Expand Down

0 comments on commit 27057c6

Please sign in to comment.