Problem with encoding - danish letters

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Jaxon2009
New Member
New Member
Posts: 3
Joined: Sun Apr 05, 2009 8:46 am

Problem with encoding - danish letters

Post by Jaxon2009 »

Hi
I'm new here. Hope my question is on target.

In order to use the danish letters æ, ø and å, I changes the config.php-file and uset following:

$config['default_encoding'] = 'iso-8859-1';
$config['admin_encoding'] = 'iso-8859-1';

It worked fine for a couple of days, then suddenlys all the letter turned back into "nonsens".

I have also changed the encoding in Global settings o iso-8859-1

Hope you are able to help out

best wishes
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Problem with encoding - danish letters

Post by Ted »

You shouldn't have had to do anything.  Danish characters work fine with the default UTF-8.  Changing the encoding is really an advanced (and almost unnecessary) feature, and will be hard to fix now.
SiNn3D

Re: Problem with encoding - danish letters

Post by SiNn3D »

My reply is a little late, but I'm familiar with your problem. Like my mysql database yours is probably set on iso-8859-1 encoding by default. You could consult the mysql manual to change it. But you can also use TinyMCE as editor to fix it.

If you have it installed:
  • go to Extensions » TinyMCE WYSIWYG;
  • go to the Advanced tab;
    [li]change 'Encoding of entities' into 'Named encoding';
Now when you type an ø, it will be translated into ø which means it doesn't matter which encoding is used by the browser (or the mysql database).

Hope this was helpful,
Dennis
Last edited by SiNn3D on Mon Jun 15, 2009 4:51 pm, edited 1 time in total.
Post Reply

Return to “CMSMS Core”