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

Re: Oddities in UTF-8 and DBD::Pg?

by afoken (Chancellor)
on Jun 28, 2015 at 07:32 UTC ( [id://1132347]=note: print w/replies, xml ) Need Help??


in reply to Oddities in UTF-8 and DBD::Pg?

Have a look at the test programs 40UnicodeRoundTrip.t and 41Unicode.t of DBD::ODBC, and especially at the dumpstr() function in the helper module UChelp.pm. Most likely the strings you pass to DBI are not Unicode strings, but byte sequences representing UTF-8, which are interpreted as legacy character strings.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-10 21:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found