Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Handle UTF-8 with DBI

by borisz (Canon)
on Jan 03, 2006 at 17:36 UTC ( [id://520673]=note: print w/replies, xml ) Need Help??


in reply to Handle UTF-8 with DBI

you can use this:
$utf8 = Encode::decode(utf8 => $utf8) unless Encode::is_utf8($utf8);
or if you just loose the utf8 flag and you know it is utf8 just do
Encode::_utf8_on($utf8);
or use DBD::Pg which already handle utf8 data for you.
Boris

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-25 18:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found