Re: how to take out the default charset append?

[prev] [thread] [next] [Date index for 2005/04/22]

From: Carl Johnstone
Subject: Re: how to take out the default charset append?
Date: 14:08 on 22 Apr 2005
> Please help me with one more related question: if I am to simply use 
> $r->content_type('text/html'), the final render to the client comes with 
> ';charset=8859-1' appended to the header. Is this the result of Apache, 
> or mod_perl? Is there any way I can just render Content-Type: text/html 
> without a character set in the header?

You've probably got

 AddDefaultCharset 8859-1

in your apache config, ("On" == "iso-8859-1")change it to:

 AddDefaultCharset Off

See:

http://httpd.apache.org/docs-2.0/mod/core.html#adddefaultcharset

Carl

Re: mp2: who is responsible for setting charset?
Markus Wichitill 17:06 on 20 Apr 2005

Re: how to take out the default charset append?
Carl Johnstone 14:08 on 22 Apr 2005

Generated at 09:30 on 27 Apr 2005 by mariachi v0.52