That's why I suspect that my server - Apache thinks that it will be
best for me to get http documents served in iso-8859-1.
Because when I declare in my header:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
the browser , doesn't react. Despite it is set to encoding:
autoselect, the page is served as a iso 8859-1
When I manually switch browser to Unicode (UFT-8) the page is shown
correctly.
I understand that I have to locate and change the proper directive in
Apache config.
I went through Apache documentation but I couldn't figure it out.
To specialized stuff...
My installation:Apache/2.0.47 (Tawie Server Linux/Linux) PHP/4.3.2
Please point me to the relevant sector.
/Harry
> I went through Apache documentation but I couldn't figure it out.
> To specialized stuff...
>
> My installation:Apache/2.0.47 (Tawie Server Linux/Linux) PHP/4.3.2
>
> Please point me to the relevant sector.
Look in your httpd.conf, from memory I believe it's usually placed near
Addlanguage and Addcharset so look for those, then simply change
AddDefaultCharset to UTF-8 from whatever it's set on.
Restart Apache and you should be good to go.
--
Paul Smith,
Yeovil, UK.
http://www.smirnov.demon.co.uk/
http://www.doom3portal.com/ A Doom 3 fansite.
*Replace nospam with smirnov to reply by e-mail*
Even better, comment AddDefaultCharset line. This way browser will use the
charset you specified in HTML.
It works after I've hashed AddDefaultCharSet ISO-8859-1
Regards to both of you,
/H