Re: utf8 charset question

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

 



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@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