View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004148 | OXID eShop (all versions) | 4.06. Language and translations | public | 2012-06-11 09:46 | 2017-11-16 10:26 |
| Reporter | Stefan_Werner | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | won't fix | ||
| Product Version | 4.6.1 revision 45706 | ||||
| Summary | 0004148: language loading is slow when shop using utf8 and lang file has 'charset' => 'ISO', | ||||
| Description | this 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 Reproduce | use an utf8 shop and set charset in an lang file to for example iso | ||||
| Additional Information | its not really a bug but there is place for enhancement ;-) | ||||
| Tags | UTF-8 | ||||
| Theme | Not defined | ||||
| Browser | All | ||||
| PHP Version | Not defined | ||||
| Database Version | Not defined | ||||
|
|
Please also see https://bugs.oxid-esales.com/view.php?id=3998 before fixing this one. |
|
|
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.*. |