utf8 charset question

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

 



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 http://www.pbm.com/~lindahl/union/search.cgi, if you'd like to
play.

-- greg


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux