German Umlauts in header are not displayed properly but in content

Permalink 1 user found helpful
Hi all,

there is a strange behavior in an concrete5-installation, version 5.4.1.1. (see [http://www.naturschallwandler-lautsprecher-beschallung.de]). Title and header text contain German Umlauts that are not displayed properly. But in content they are.

When I log in into the admin the German Umlauts are displayed properly !!!

In an other installation on the same server in the same area of that customer (see [http://www.bringewald.de]) - there are no such problems.

We have no idea what the reason is. We think we do not change anything. The last change was to edit the htaccess but just to rule the domains not the character set. And it was before the occurence of that behavior.

Have you got any idea ? This would be great.

Thanks a lot
Frank

 
prestressed replied on at Permalink Reply
prestressed
Have you tried editing your htaccess as described here:

http://www.concrete5.org/community/forums/usage/display-problem-odd...

I don't know if your problem is the same but it sounds similar, and this worked for me a while back
pankraf replied on at Permalink Reply
thank you very much but AddDefaultCharset utf-8 does not help.

As you can see underhttp://www.naturschallwandler-lautsprecher-beschallung.de/c5/login... the title is displayed fine while underhttp://www.naturschallwandler-lautsprecher-beschallung.de/c5/... not.
???
prestressed replied on at Permalink Best Answer Reply
prestressed
sorry that didn't help
It's not really my area of expertise!

but I just had a quick look at your code and you have two charset declarations which might not help

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">@import "/c5/index.php/tools/css/themes/naturschallwandler/style.css";</style>
<style type="text/css">@import "/c5/index.php/tools/css/themes/naturschallwandler/typography.css";</style>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
pankraf replied on at Permalink Reply
This is concrete5 stuff I think. I don't know if I can change this. But underhttp://www.naturschallwandler-lautsprecher-beschallung.de/bringewal... the charset is defined twice as well. So it seems not to be the reason. :-(
prestressed replied on at Permalink Reply
prestressed
You should be able to just delete the offending line from
/themes/Naturschallwandler/elements/header.php

- probably a good idea, though I'm not saying that will necessarily solve it!
Is the problem font-dependent?
pankraf replied on at Permalink Reply
Now I have removed this line from header.php. But it still exists on the pages that are related to the main menu. Now I see the pages that are related to the second header menu (Impressum, Sitemap and so on) are looking fine.
pankraf replied on at Permalink Reply
Now I have cleared the cache. All pages are displayed properly. It is very strange because I have not changed the header.php since October.
Maybe there is an influence from the new htaccess that I changed last Friday.
prestressed replied on at Permalink Reply
prestressed
Hey, glad you got it fixed, looks good now!
pankraf replied on at Permalink Reply
Yes, thank you very very much.