Re: mp2: who is responsible for setting charset?

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

From: Markus Wichitill
Subject: Re: mp2: who is responsible for setting charset?
Date: 17:06 on 20 Apr 2005
JH Foo wrote:
> I have a need to set the charset in the header from the default 8859-1 to UTF-8. In CGI I simply set the header method($q->header(-charset=>'utf8');
> Can anyone tell me the modperl equivalent, possibly with the Apache2::RequestRec or Apache::Request object?

$r->content_type("text/html; charset=$charset");

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