On Thu, May 10, 2007 at 05:55:35PM -0400, Joshua Slive wrote:
> CGI scripts get special meta-data treatment because they are capable
> of (and responsible for) setting their own meta-data.
Ah. Then part of the bug is that the documentation for mod_mime
doesn't seem to say this anywhere. And the C
On Wed, May 09, 2007 at 03:35:46PM -0400, Joshua Slive wrote:
> In my opinion, that is a bug. Apache should be passing the charset
> specified by your CGI script in the Content-Type line
But nothing in the docs says that .cgi scripts are treated differently
from any other file. I'm much more conc
On Wed, May 09, 2007 at 09:33:17AM -0400, Joshua Slive wrote:
> On 5/9/07, Greg Lindahl <[EMAIL PROTECTED]> wrote:
>
> >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.
> >
>
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