Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by mje (Curate)
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 about the Monastery: (10)
As of 2014-12-22 09:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (113 votes), past polls