View Issue Details

IDProjectCategoryView StatusLast Update
0005528phpList 3 applicationInternationalization (l18n)public23-05-12 04:52
Reporterredfox Assigned To 
Status resolvedResolutionfixed 
Product Version2.10.2 
Fixed in Version2.11.7 
Summary0005528: Overwriten config value
DescriptionI made new language file for my language ( based on
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/ 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.


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



03-10-06 20:18

administrator   ~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.