Welcome to Geeklog, Anonymous Monday, December 30 2024 @ 11:32 am EST
Geeklog Forums
Charset issue
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hello everybody,
On geeklog.fr $_CONF['default_charset'] is set to 'utf-8' in the siteconfig.php file. Everything is perfect with english_utf-8 language but if I choose french_france_utf8 as my user language, $_CONF['default_charset'] is then set to 'iso-8859-1' and there is issues with some accents (not all).
Why my siteconfig default charset is overwrite when I change language? :banghead:
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
On geeklog.fr $_CONF['default_charset'] is set to 'utf-8' in the siteconfig.php file. Everything is perfect with english_utf-8 language but if I choose french_france_utf8 as my user language, $_CONF['default_charset'] is then set to 'iso-8859-1' and there is issues with some accents (not all).
Why my siteconfig default charset is overwrite when I change language? :banghead:
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
13
11
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: cordiste
if I choose french_france_utf8 as my user language, $_CONF['default_charset'] is then set to 'iso-8859-1'
So your french_france_utf-8.php declares iso-8859-1 as the character set? That can't be right. The version that ships with Geeklog properly sets it to UTF-8.
bye, Dirk
11
12
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
No, whatever I use the french_france_utf-8.php ship with geeklog or another the charsety is overwrited :banghead:
I can't reproduce this issue on another site :banghead: :banghead:
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
I can't reproduce this issue on another site :banghead: :banghead:
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
12
9
Quote
RichardBKK
Anonymous
Did you check in phpadmin if your database is in UTF-8?
Changing it is very easy,,,
Changing it is very easy,,,
10
9
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Ok I found it. Charset was overwrited by sitemap plugin english language file configuration.
die('This file cannot be used on its own.');
}
$LANG_CHARSET = 'iso-8859-1';
Thanks.
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
Text Formatted Code
if (strpos(strtolower($_SERVER['PHP_SELF']), 'english.php') !== FALSE) {die('This file cannot be used on its own.');
}
$LANG_CHARSET = 'iso-8859-1';
Thanks.
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
10
10
Quote
All times are EST. The time is now 11:32 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content