# File lib/mysql2/client.rb, line 228 def self.encoding_from_charset_code(code) if mapping = MYSQL_CHARSET_MAP[code] encoding_from_charset(mapping[:name]) else nil end end