Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

utf-8 for mysql-connection in Jifty

by wanradt (Scribe)
on Nov 18, 2010 at 20:12 UTC ( #872342=perlquestion: print w/ replies, xml ) Need Help??
wanradt has asked for the wisdom of the Perl Monks concerning the following question:

Hi!

Just made legs wet with Jifty and don't understand, how could i tell, that my database connection should use utf-8? For DBI i use "mysql_enable_utf8 => 1" during connecting, but where should i set it in Jifty app?

Nġnda, WK

Comment on utf-8 for mysql-connection in Jifty
Re: utf-8 for mysql-connection in Jifty
by aquarium (Curate) on Nov 18, 2010 at 23:11 UTC
    since this is an OO'ish interface to the DB, utf8 is achieved a bit differently to the DBI way. have a look for Jifty::DBI::Filter::utf8 module and methods
    the hardest line to type correctly is: stty erase ^H
      Thank you! This one i founded too, but i got no idea how could i use it ;) Besides, those two lines of documentation gave me a impression it is dealing with strings and not with connection itself. Correct me if i am wrong, but i did not get any further here. Thank you!
      Nġnda, WK

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://872342]
Approved by LanX
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2014-09-22 10:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (189 votes), past polls