Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Perl DBI can't display Chinese text?

by mje (Deacon)
on Oct 18, 2013 at 16:24 UTC ( #1058779=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $d = decode('UTF-8', $r->[0][0]);
    say data_string_desc($d);
    print Dumper(\$d);
    
  2. or download this
    f0,a0,80,a0,f0,a4,88,82,f0,b1,86,85,f0,a3,91,a0,
    UTF8 on, non-ASCII, 4 characters 16 bytes
    ...
    UTF8 off, non-ASCII, 16 characters 16 bytes
    UTF8 on, non-ASCII, 4 characters 16 bytes
    $VAR1 = \"\x{20020}\x{24202}\x{31185}\x{23460}";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2014-07-29 20:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (227 votes), past polls