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?? |
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". ;-)
In Section
Seekers of Perl Wisdom
|
|