perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher H. Laco" <cl...@chrislaco.com>
Subject Re: is there a way to force UTF-8 encoding
Date Fri, 03 Mar 2006 20:28:12 GMT
John N. Brahy wrote:
> Is there a way to force UTF-8 encoding? I have tried
> 
> AddDefaultCharset utf-8 in the httpd.conf
> 
> OS: OpenBSD 
> Apache: Apache/1.3.29 (Unix) mod_perl/1.29 mod_ssl/2.8.16 OpenSSL/0.9.7g
> 
> But 
> 1) wget -S says it's Content-Type: text/html; charset=ISO-8859-1
> 2) when I try the HTML validator on w3c.org it tells me that it's
> ISO-8859-1
> 3) Internet Explorer and Firefox both have ISO-8859-1 selected
> 4) Firefox's Page Info shows it as ISO-8859-1
> 
> Anybody know a way to force it to utf-8?

Are there actually any UTF-8 encoded characters in the output?
If their aren't any, then the document can really be both encodings at
the same time, unless of course the document also includes a BOM (Byte
Order Marker).

-=Chris


Mime
View raw message