Method: Mysql2::Client.encoding_from_charset

Defined in:
lib/mysql2/client.rb

.encoding_from_charset(charset) ⇒ Object

[View source]

215
216
217
# File 'lib/mysql2/client.rb', line 215

def self.encoding_from_charset(charset)
  CHARSET_MAP[charset.to_s.downcase]
end