phplist

NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1


View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005528phplist applicationInternationalization (l18n)public21-02-06 09:0223-05-12 04:52
Reporterredfox 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
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.
Attached Files

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

-  Notes
(0019532)
michiel (manager)
03-10-06 20:18

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.


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker