Re: Utf-8 and Content-Length header

Pav Lucistnik <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
Gisle Aas píše v čt 08. 06. 2006 v 07:43 -0700:
> Pav Lucistnik <[email protected]> writes:
> 
> > I'm a bit puzzled as on what's going on here.  Any tips?
> 
> If you could provide a (short) sample program that demonstrates this
> problem then we could analyze the problem based on that.  My position
> is that the LWP protocol modules should be able to assume the data it
> gets are bytes.

I'm afraid this is a rather complex thing, involving SOAP::Lite etc...

Looks like some parts of $url and $request_headers structures, as passed
into libwww, have utf8 flag turned on.  These values are filled in by
SOAP::Lite, which operates on utf8 encoded XML files.

I'll see if I can manage to persuade SOAP::Lite to drop utf8 flags from
these strings.

-- 
Pav Lucistnik <[email protected]>
              <[email protected]>

With sufficient thrust, pigs fly just fine.
  -- RFC 1925
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.