用LWP的UserAgent的get方法下载UTF-8页面时报出警告的处理方法
用LWP的UserAgent的get方法下载UTF-8页面时,
my $browser = LWP::UserAgent->new;
my $response = $browser->get( $url ...);
报出警告:
Parsing of undecoded UTF-8 will give garbage when decoding entities at C:/Perl/site/lib/LWP/Protocol.pm line 137.
Read the rest of this entry »