Hi,
I am evaluating CMSMS. I live in Denmark and need to use the danish character set. If I choose "ISO-8859-1 - Latin 1/West European", text from tables in the mysql database ar presented correctly, but {sitename} and {title} ar not correct. If I choose "Default" or "UTF-8 Unicode", text from mysql database i not presented correct, but {sitename} and {title} ar correct.
I think, that CMSMS is great in other respects, and I will be happy to use it, but if I do not find a solution for the character set, I will have to drop it.
Trouble with character set
Re: Trouble with character set
You have to set in config.php
Admin default is utf-8 so {sitename} and {title} will written with this encoding to database
.
Code: Select all
$config['default_encoding'] = 'ISO-8859-1';
$config['admin_encoding'] = 'ISO-8859-1';

Re: Trouble with character set
Thanks for the above advice. I changed config.php and ensured, that my template was set to the above encoding, but it still does not work.cyberman wrote: You have to set in config.php
Admin default is utf-8 so {sitename} and {title} will written with this encoding to databaseCode: Select all
$config['default_encoding'] = 'ISO-8859-1'; $config['admin_encoding'] = 'ISO-8859-1';
.
Re: Trouble with character set
Have you cleared cache?
(You should do it after every change on config.php.)
And - important - you have to write title and sitename once again. If I'm right the values in db are currently encoded in utf-8 - please check it.
(You should do it after every change on config.php.)
And - important - you have to write title and sitename once again. If I'm right the values in db are currently encoded in utf-8 - please check it.
Re: Trouble with character set
OK, that did the trick. Thank you very much.cyberman wrote: Have you cleared cache?
(You should do it after every change on config.php.)
And - important - you have to write title and sitename once again. If I'm right the values in db are currently encoded in utf-8 - please check it.