View Issue Details

IDProjectCategoryView StatusLast Update
0005528phplist applicationInternationalization (l18n)public23-05-12 04:52
Reporterredfox 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.10.2 
Target Version4.0.xFixed in Version2.11.7 
Summary0005528: Overwriten config value
DescriptionI made new language file for my language (bulgarian.inc) based on english.inc
Into it I set charset to
$strCharSet = 'windows-1251';
and translate part of other strings.

All works OK except chatset value. It is always place "ISO-8859-1" charset in phplist public pages.

I start debuging and found that $strCharSet global variable is loaded proper from texts/bulgarian.inc but after that it is overwriten in admin/languages.php on line 98

$GLOBALS['strCharSet'] = $_SESSION['adminlanguage']['charset'];

As I suppose, this is some applications logic for admin part of interface, but it influence over public part.
TagsNo tags attached.

Relationships

related to 0002705 closed PHPList v2.11 release 
related to 0001644 resolvedmichiel Subject error with UTF-8 encode in Traditional Chinese 

Activities

michiel

03-10-06 20:18

manager   ~0019532

In 2.10.3 I've set it to not set the charSet if it's already set, but a nicer solution should be sorted in 2.11 versions, hence adding it to the 2.11 issue list.