public function getFormatEncodingOptions()
    {
        $options = [
            'utf-8',
            'us-ascii',
            'iso-8859-1',
            'iso-8859-2',
            'iso-8859-3',
            'iso-8859-4',
            'iso-8859-5',
            'iso-8859-6',
            'iso-8859-7',
            'iso-8859-8',
            'iso-8859-0',
            'iso-8859-10',
            'iso-8859-11',
            'iso-8859-13',
            'iso-8859-14',
            'iso-8859-15',
            'Windows-1251',
            'Windows-1252'
        ];

        $translated = array_map(function ($option) {
            return Lang::get('backend::lang.import_export.encodings.'.Str::slug($option, '_'));
        }, $options);

        return array_combine($options, $translated);
    }
public function getFormatEncodingOptions()
    {
        $options = [
            'utf-8',
            'us-ascii',
            'iso-8859-1',
            'iso-8859-2',
            'iso-8859-3',
            'iso-8859-4',
            'iso-8859-5',
            'iso-8859-6',
            'iso-8859-7',
            'iso-8859-8',
            'iso-8859-0',
            'iso-8859-10',
            'iso-8859-11',
            'iso-8859-13',
            'iso-8859-14',
            'iso-8859-15',
            'Windows-1251',
            'Windows-1252'
        ];

        $translated = array_map(function ($option) {
            return Lang::get('backend::lang.import_export.encodings.'.Str::slug($option, '_'));
        }, $options);

        return array_combine($options, $translated);
    }
public function getFormatEncodingOptions ( ) { $ options = [ 'utf-8' , 'us-ascii' , 'iso-8859-1' , 'iso-8859-2' , 'iso-8859-3' , 'iso-8859-4' , 'iso-8859-5' , 'iso-8859-6' , 'iso-8859-7' , 'iso-8859-8' , 'iso-8859-0' , 'iso-8859-10' , 'iso-8859-11' , 'iso-8859-13' , 'iso-8859-14' , 'iso-8859-15' , 'Windows-1251' , 'Windows-1252' ] ; $ translated = array_map ( function ( $ option ) { return Lang :: get ( 'backend::lang.import_export.encodings.' . Str :: slug ( $ option , '_' ) ) ; } , $ options ) ; return array_combine ( $ options , $ translated ) ; }
Returns all available encodings values from the localization config
@return array
Returns all available encodings values from the localization config