PDA

View Full Version : [TiM's osC Solutions] ISO-8859-1UTF-8 dual support



michael_s
02-08-2011, 11:02 PM
Now even more simple!

* Set MySQL charset in application_top.php instead of functions/database.php due to the fact that language files are not included when the first tep_db_connect() command runs.
- Language packs are more commonly published with UTF-8 encoded source rather than entities. No need to utf8_encode the buffer output.
+ Fix for emails in ISO-8859-1.

Full package! Please revert changes from the previous release before applying this release.

----------------------------------------

Checklist helper for language packs:

Full ISO-8859-1 Language Pack
[ ] Source code saved in ANSII/ISO-8859-1
[ ] {languagename}.php states define('CHARSET', 'iso-8859-1');

Full UTF-8 Language Pack
[ ] Source code saved in UTF-8 without BOM
[ ] {languagename}.php states define('CHARSET', 'utf-8');
[ ] {languagename}.php includes mb_internal_encoding('utf-8');

More... (http://addons.oscommerce.com/info/7628)