[CentOS] Special character with Apache in Centos 4.3 - Solved !

Luigi Palmiero adnusielog4 at rmsud.esercito.difesa.it
Mon May 8 10:16:22 UTC 2006

----- Original Message ----- Luigi Palmiero wrote:
>    All char like "°", "-", ecc. in web pages appears as "?".
>    This is the variable in httpd.conf:
>    "AddDefaultCharSet UTF-8"
>    I have also set: "AddDefaultCharSet ISO-8859-1" without any change.
>    Where is the problem?

Your webpages *do* have a content-type declaration in <HEAD></HEAD>?

Ralph Angenendt......ra at br-online.de | .."Text processing has made it 
Bayerischer Rundfunk...80300 München | ....to right-justify any idea, even 
Programmbereich.Bayern 3, Jugend und | .which cannot be justified on any 
Multimedia.........Tl:089.5900.16023 | ..........grounds." -- J. Finnegan, 

Ok, it seems all right, with these instructions:
- in "httpd.conf" i have commented  "AddDefaultCharset UTF-8"
- in HTML pages i have add these two lines in HEAD section:
"<meta http-equiv="Content-Language" content="it">"
"<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">"

Thanks to all.

More information about the CentOS mailing list