Page 1 of 1

Problem with encoding - danish letters

Posted: Sun Apr 05, 2009 8:51 am
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

Re: Problem with encoding - danish letters

Posted: Sun Apr 05, 2009 1:09 pm
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.

Re: Problem with encoding - danish letters

Posted: Mon Jun 15, 2009 4:35 pm
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