private function getMbCharset($cs)
    {
        $normalized = $this->getNormalizedCharset($cs);
        if (array_key_exists($normalized, self::$mbListedEncodings)) {
            return self::$mbListedEncodings[$normalized];
        } elseif (array_key_exists($normalized, self::$mbAliases)) {
            return self::$mbAliases[$normalized];
        }
        return false;
    }
private function getMbCharset($cs)
    {
        $normalized = $this->getNormalizedCharset($cs);
        if (array_key_exists($normalized, self::$mbListedEncodings)) {
            return self::$mbListedEncodings[$normalized];
        } elseif (array_key_exists($normalized, self::$mbAliases)) {
            return self::$mbAliases[$normalized];
        }
        return false;
    }
private function getMbCharset ( $ cs ) { $ normalized = $ this -> getNormalizedCharset ( $ cs ) ; if ( array_key_exists ( $ normalized , self :: $ mbListedEncodings ) ) { return self :: $ mbListedEncodings [ $ normalized ] ; } elseif ( array_key_exists ( $ normalized , self :: $ mbAliases ) ) { return self :: $ mbAliases [ $ normalized ] ; } return false ; }
Looks up a charset from mb_list_encodings and identified aliases,
checking if the lookup has been cached already first.

If the encoding is not listed, the method will return false.

On success, the method will return the charset name as accepted by mb_*.

@param string $cs
@param bool $mbSupported
@return string|bool
Looks up a charset from mb_list_encodings and identified aliases checking if the lookup has been cached already first .