diff --git a/support/mysql_enc_to_ruby.rb b/support/mysql_enc_to_ruby.rb index 29ef0ea86..33c878885 100644 --- a/support/mysql_enc_to_ruby.rb +++ b/support/mysql_enc_to_ruby.rb @@ -43,6 +43,8 @@ "geostd8" => "NULL", "cp932" => "Windows-31J", "eucjpms" => "eucJP-ms", + "utf16le" => "UTF-16LE", + "gb18030" => "GB18030", } client = Mysql2::Client.new(username: user, password: pass, host: host, port: port.to_i) diff --git a/support/ruby_enc_to_mysql.rb b/support/ruby_enc_to_mysql.rb index 734d4be90..72b68eb25 100644 --- a/support/ruby_enc_to_mysql.rb +++ b/support/ruby_enc_to_mysql.rb @@ -38,6 +38,8 @@ "geostd8" => nil, "cp932" => "Windows-31J", "eucjpms" => "eucJP-ms", + "utf16le" => "UTF-16LE", + "gb18030" => "GB18030", } puts <<-HEADER