Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Chinese site and decoded_content() trouble

by isync (Hermit)
on Jun 11, 2007 at 08:50 UTC ( [id://620442]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    test: http://cn.life.dada.net/people/
    is decoded content utf8? 1
    ...
    decode failed: euc-cn "\xA9" does not map to Unicode at /usr/lib/perl/
    +5.8/Encode.pm line 166.
     at test_ku6.pl line 22
    
  2. or download this
      my $enco = encoding_from_http_message($resp);
      my $utf8 = decode($enco => $resp->content);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://620442]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2024-03-28 09:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found