in reply to
LWP problem
That looks like your seeing the text as UTF16 in the second case. You could try running it through something of the Encode::Decode family to convert it to UTF8 (or some other encoding) if you need to.
Comment on
Re: LWP problem
In Section
Seekers of Perl Wisdom