Topic: Problem with scandinavian characters (ÅÖÄ)

Is there anyway the get these characters work? At the moment forms just turn them into ?. If I enter them straight to the database they will be shown as "ä" on the site. I've changed charsets on every file I found it. I would not want to spend all my time changing them into entities.

Thumbs up

2

Re: Problem with scandinavian characters (ÅÖÄ)

Hi feanaro - welcome to the Wolf forums, and sorry to hear you're having a problem.

There is an open issue about utf-8 characters in slugs, but I get the sense that your case is that characters with diacritics do not appear anywhere? This is quite a suprise, as it ought to work just fine, as you can see from this test page.

Is the site live, so we can have a look? Can you double check the encoding declared in the HTML header, where you want something like:

<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />

Can you check the encoding ("collation") of your database? Is it set to one of the UTF-8 settings? Have you enabled MOD_REWRITE, and thus the .htaccess file (with this instruction: "AddDefaultCharset UTF-8")?

There ought to be no problem at all here, so I hope we can get it sorted!

Update - I was reminded of a problem someone (Danish, in that case) had back in pre-fork days, and I dug it out. Here was the resolution:

tinus wrote:

Hurray! It was caused by an error on my host, effectively ensuring that the backend pages where served as iso-8859-1 even though they were suppose to be utf-8. So I added the following to my .htaccess file:

php_value default_charset "UTF-8"

And now everything works!

Maybe if your issue persists you should check in with your hosting support.

Last edited by David (2010-09-10 11:35)

Re: Problem with scandinavian characters (ÅÖÄ)

Yey, it works with the .htaccess add. Thanks! (:

Thumbs up