Re: Utf-8 and Content-Length header

Gisle Aas p=ED=B9e v =E8t 08. 06. 2006 v 07:43 -0700:
> Pav Lucistnik <pav [at] oook.cz> 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 <pav [at] oook.cz>
<pav [at] FreeBSD.org>

With sufficient thrust, pigs fly just fine.
-- RFC 1925
pav [ Do, 08 Juni 2006 16:46 ] [ ID #1348221 ]
Perl » perl.libwww » Re: Utf-8 and Content-Length header

Vorheriges Thema: Autoclose for <script> and <style> in HTML::Parser
Nächstes Thema: Re: Utf-8 and Content-Length header