Re: enabling utf8 encoding for sax parer XML::SAX::Expat

Robin Berjon <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
On Apr 29, 2009, at 10:19 , Michael Ludwig wrote:
>> $userAgent->request($request, $file) ?
>>
>> should i add any sort of HTTP header with encoding like the ones
>> returned in HTTP responses?
>
> You should indicate the encoding in the Content-Type, yes.

In the response, yes, but I think the OP is asking about the request  
headers. I don't think it'll change anything in this case, but you can  
specify Accept-Charset. Unless LWP does something really counter- 
intuitive, specifying the Content-Type on the request object shouldn't  
do anything useful.

-- 
Robin Berjon - http://berjon.com/
     Feel like hiring me? Go to http://robineko.com/





_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.