Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Malformed UTF-8 character error after fetching data from Postgresqlby stefbv (Curate) |
on Jul 17, 2014 at 18:19 UTC ( [id://1094103]=note: print w/replies, xml ) | Need Help?? |
That is interesting, and I found another phrase in the DBD::Pg docs that sounds like I was mistaken: pg_enable_utf8 (integer) DBD::Pg specific attribute. The behavior of DBD::Pg with regards to this flag has changed as of version 3.0.0. ... "Note that the value of client_encoding is only checked on connection time. If you change the client_encoding to/from 'UTF8' after connecting, you can set pg_enable_utf8 to -1 to force DBD::Pg to read in the new client_encoding and act accordingly."
In Section
Seekers of Perl Wisdom
|
|