[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why apache do not respct charset on web page ?



On 04.07.07 04:46, Vladimir Strycek wrote:
> Installed debian on mine second pc with apache and everything but all 
> www pages start have the same issue.
> 
> In www page is
> 
> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
> 
> but apache do not respect this and i have "?" insted of special characters
> on another box where i have gentoo or on windows its workig just fine.

Apache does not sent Content-Type according to what is storedd in meta tags.
Apache sends Content-Type according to its directives.

The charset send in HTTP headers should prevail over the one in <META> tag,
it's in the HTML standard. Mozilla follows this standars, M$IE does not.

> Any idea what to set that apache will respect character code setting ?

Remove AddDefaultCharset and AddCharset, or configure them for each
directory/file as needed.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I wonder how much deeper the ocean would be without sponges. 



Reply to: