Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: DBD::pg considers input and output ISO8859

by choroba (Archbishop)
on Sep 25, 2018 at 19:17 UTC ( #1222999=note: print w/replies, xml ) Need Help??


in reply to DBD::pg considers input and output ISO8859

Where do you set the encoding of the output file handle?
binmode *STDOUT, ':encoding(UTF-8)'; # or use open OUT => ':encoding(UTF-8)', ':std';

You might also need to correctly handle the pg_enable_utf8 attribute (see DBD::Pg).

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2020-11-27 16:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?