Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: DBD::Pg encodes Perlstring to UTF-8 bytes instead of WIN1252 regardless client encoding

by ikegami (Pope)
on Mar 27, 2014 at 19:10 UTC ( #1079979=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
       #is($got, $expected, $test_name);
       is(printable($got), printable($expected), $test_name);
    }
    
  2. or download this
    1..4
    ok 1 - 00-7F
    ok 2 - 80-FF,UTF8=0
    ok 3 - 80-FF,UTF8=1
    ok 4 - >FF
    
  3. or download this
    my @tests = (
       [ '00-7F',        "a"           ],
    ...
       my $got = $row->[0];  
       is(printable($got), printable($input), $test_name);
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2014-12-26 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (171 votes), past polls