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

Replies are listed 'Best First'.
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