Vendor/langcode-conv/zendframework/zend-stdlib/src/StringWrapper/MbString.php
public static function getSupportedEncodings()
    {
        if (static::$encodings === null) {
            static::$encodings = array_map('strtoupper', mb_list_encodings());

            // FIXME: Converting € (UTF-8) to ISO-8859-16 gives a wrong result
            $indexIso885916 = array_search('ISO-8859-16', static::$encodings, true);
            if ($indexIso885916 !== false) {
                unset(static::$encodings[$indexIso885916]);
            }
        }

        return static::$encodings;
    }
public static function getSupportedEncodings()
    {
        if (static::$encodings === null) {
            static::$encodings = array_map('strtoupper', mb_list_encodings());

            // FIXME: Converting € (UTF-8) to ISO-8859-16 gives a wrong result
            $indexIso885916 = array_search('ISO-8859-16', static::$encodings, true);
            if ($indexIso885916 !== false) {
                unset(static::$encodings[$indexIso885916]);
            }
        }

        return static::$encodings;
    }
public static function getSupportedEncodings ( ) { if ( static :: $ encodings === null ) { static :: $ encodings = array_map ( 'strtoupper' , mb_list_encodings ( ) ) ; // FIXME: Converting € (UTF-8) to ISO-8859-16 gives a wrong result $ indexIso885916 = array_search ( 'ISO-8859-16' , static :: $ encodings , true ) ; if ( $ indexIso885916 !== false ) { unset ( static :: $ encodings [ $ indexIso885916 ] ) ; } } return static :: $ encodings ; }
Get a list of supported character encodings

@return string[]
Get a list of supported character encodings