in reply to LWP and UTF-8

I just tested it LWP::Simple:
#!/usr/bin/perl use strict; use warnings; use Encode; use LWP::Simple; my $content = get('http://perl-6.de'); if ($content){ $content = decode('utf-8', $content); # now work with $content here # assuming your terminal is set to utf-8 as well: print encode('utf-8', $content); }

Replies are listed 'Best First'.
Re^2: LWP and UTF-8
by perlmonkdr (Beadle) on Oct 30, 2007 at 05:39 UTC

    Thank Moritz for your help, you know that i worked with encode module too but not work, i would like to test with LWP::Simple, unfortunely i need use persistent cookies

    Thank again and perhaps i will need to works in internal modules, step by step

    If anyone know how to solve this problem, please tell me