Problemlösung Browser stellt Umlaut nur als Rechteck dar
02.Juli, 2008
Da ich eben mal wieder eine halbe Stunde Zeit am Debian Etch verbracht habe, hier ein entsprechendes Howto.
Problem:
- frische Etch Installation
- nicht als Entity (ü ä etc.) codierte Umlaute und Sonderzeichen werde als kleine Rechtecke dargestellt
Ursache:
Apache2 sendet im HTTP-Header
Content-Type: text/html, Charset: UTF-8
Lösung:
Apache2 Direktive AddDefaultCharset Off
z.B. bei AllowOveride in der lokalen .htaccess oder eben in der /etc/apache2/conf.d/charset
http://httpd.apache.org/docs/2.2/de/mod/core.html
Ausserdem wichtig: Debian Locales auf de_DE
http://linuxwiki.de/Debian/locales
Hinterlasse Deine Meinung