lib/ezdb/classes/ezmysqlcharset.php
public static function mapTo( $charset )
    {
        $lowerCharset = strtolower( $charset );
        return isset( self::$mapping[$lowerCharset] ) ? self::$mapping[$lowerCharset] : $charset;
    }
public static function mapTo( $charset )
    {
        $lowerCharset = strtolower( $charset );
        return isset( self::$mapping[$lowerCharset] ) ? self::$mapping[$lowerCharset] : $charset;
    }
public static function mapTo ( $ charset ) { $ lowerCharset = strtolower ( $ charset ) ; return isset ( self :: $ mapping [ $ lowerCharset ] ) ? self :: $ mapping [ $ lowerCharset ] : $ charset ; }
Maps an internal charset to one understood by MySQL.
If the charset is unknown, it will be returned as is.

@param string $charset Charset to map.

@return string The converted charset.

@since 4.4
Maps an internal charset to one understood by MySQL . If the charset is unknown it will be returned as is .