httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Lindahl <>
Subject [users@httpd] utf8 charset question
Date Wed, 09 May 2007 04:12:53 GMT
I have some webpages and a CGI script which are utf8. This is apache2 on Linux.

With this .htaccess file:

AddHandler cgi-script cgi
#AddDefaultCharset UTF-8
#AddCharset utf-8 .cgi .html
#AddType "text/html; charset=UTF-8" .cgi .html
Options +ExecCGI

With all 3 lines commented, both the webpages and the CGI emit
iso-8859-1, my server default.

If I uncomment any one of the 3 commented lines. my .html pages all
come out utf-8. But, no matter what, my cgi always is iso-8859-1.

What am I missing? My apache and vhosts config seem to be fine.

url is, if you'd like to

-- greg

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message