Gallery 2 Bridge
Nice bridge with charset problems, May 16, 2006 |
0 of 1 people find this review helpful:
I use this bridge and I love it. The only problem is: gallery2 Comments are utf-8-encoded, joomla texts iso-8859-1.
I solved the problem with a little hack in the index.php of joomla:
// Hack to make Gallery2 have the right encoding ...
if($option == 'com_gallery2') DEFINE('_ISO','charset=utf-8');
// Hack end, next lines are already in the index.php, put the hack right here
// loads english language file by default
if ($mosConfig_lang=='') {
$mosConfig_lang = 'english';
}
include_once( 'language/' . $mosConfig_lang . '.php' );
Consider that you should not use any char which is different in utf-8 and iso-8859-1 in your navigation or any text visible at the same time as the gallery.
Would be nice if the bridge would be able to convert utf-8 to iso-8859-1 in one of the next versions.
|
|