Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by moritz (Cardinal)
on Jan 30, 2014 at 19:00 UTC ( #1072714=note: print w/replies, xml ) Need Help??


in reply to Re^2: DBD::Pg encodes Perlstring to UTF-8 bytes instead of WIN1252 regardless client encoding
in thread DBD::Pg encodes Perlstring to UTF-8 bytes instead of WIN1252 regardless client encoding

client encoding tells WIN1252

Then set it to UTF-8. It will be much more pleasant to work with from Perl and DBD::Pg/DBI.

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

Replies are listed 'Best First'.
Re^4: DBD::Pg encodes Perlstring to UTF-8 bytes instead of WIN1252 regardless client encoding
by Pickwick (Beadle) on Jan 31, 2014 at 09:08 UTC
    I did, but that's not the point of my question why I need to at all to get it working, because depending on the client encoding DBD::Pg should properly encode the data itself.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1072714]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2016-12-03 22:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (60 votes). Check out past polls.