View Issue Details

IDProjectCategoryView StatusLast Update
0004148OXID eShop (all versions)4.06. Language and translationspublic2017-11-16 10:26
ReporterStefan_Werner Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionwon't fix 
Product Version4.6.1 revision 45706 
Summary0004148: language loading is slow when shop using utf8 and lang file has 'charset' => 'ISO',
Descriptionthis part is very slow, oxlang line 882

// recoding only in utf
                        if ( $myConfig->isUtf() ) {
                            $aLang = $this->_recodeLangArray( $aLang, $aLang['charset'] );

                            if (isset($aSeoReplaceChars) && is_array($aSeoReplaceChars)) {
                                $aSeoReplaceChars = $this->_recodeLangArray( $aSeoReplaceChars, $aLang['charset'], true );
                            }

                            // overriding charset
                            $aLang['charset'] = 'UTF-8';
                        }
Steps To Reproduceuse an utf8 shop and set charset in an lang file to for example iso
Additional Informationits not really a bug but there is place for enhancement ;-)
TagsUTF-8
ThemeNot defined
BrowserAll
PHP VersionNot defined
Database VersionNot defined

Activities

marco_steinhaeuser

2013-03-15 13:45

reporter   ~0008509

Please also see https://bugs.oxid-esales.com/view.php?id=3998 before fixing this one.

sebastian.bauer

2017-03-20 13:42

reporter   ~0011998

The code will be removed in the OXID eShop version 6.0 (see https://github.com/OXID-eSales/oxideshop_ce/blob/master/source/Core/Language.php#L951). We do not make performance tests on patch releases, therefore we won't fix it for the 5.*.