mp2: who is responsible for setting charset?
[prev]
[thread]
[next]
[Date index for 2005/04/20]
This is a multi-part message in MIME format.
------=_NextPart_000_001D_01C5460E.BF748C60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all,
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=3D>'utf8');
Can anyone tell me the modperl equivalent, possibly with the =
Apache2::RequestRec or Apache::Request object? Thanks in advance. I =
really need to get this out of my hair asap.
------=_NextPart_000_001D_01C5460E.BF748C60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have a need to set the charset in the =
header from=20
the default 8859-1 to UTF-8. In CGI I simply set the header=20
method($q->header(-charset=3D>'utf8');</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Can anyone tell me the modperl =
equivalent, possibly=20
with the Apache2::RequestRec or Apache::Request object? Thanks in =
advance. I=20
really need to get this out of my hair asap.</FONT></DIV></BODY></HTML>
------=_NextPart_000_001D_01C5460E.BF748C60--
 |
mp2: who is responsible for setting charset?
JH Foo 17:09 on 20 Apr 2005
|