httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Lindahl <lind...@pbm.com>
Subject Re: [users@httpd] utf8 charset question
Date Fri, 11 May 2007 00:21:34 GMT
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 CGI perl doc managed to
confuse me with the -encoding argument to start_html(), without saying
"Hey, dummy, you have to set the charset in the header() to get a
Content-Type line..."

And that was my bug: I was calling start_html() with an -encoding but
I was not adding -charset to header(). Thus, I was not emitting a
Content-Type header at all.

So my personal problem is solved. And apache 2.0.58 is properly sending
this Content-Type in the headers.

-- 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message