in reply to UTF8 and LWP::Simple;

-CS tells Perl to decode characters coming from STDIN, and encode characters going to STDOUT - but LWP::Simple retrieves its information via a socket, not STDIN.

The solution is to use LWP::UserAgent and then print $response->decoded_content.

Replies are listed 'Best First'.
Re^2: UTF8 and LWP::Simple;
by MattLG (Beadle) on Apr 25, 2010 at 17:19 UTC

    D'oh! Of course.

    Thanks

    MattLG