[Catalyst] UTF-8 strings getting stragely converted to latin1 when coming from MySQL DB

islue islue.hu at gmail.com
Fri Mar 3 17:44:52 CET 2006


Hello, Michele

I am interesting in whether your data is correct. Generally, if your 
data is stored in utf8 correctly, "set names utf8" is meaningful.
So do you mind telling the detail of how you write/read your data?

>Hello Matt!
>
>At last I was able to migrate one of my Catalyst application to
>DBIC::Schema. However, putting this query in the schema class does no
>good for the UTF-8 thing.
>
>How can I be sure it is executed? I tried replacing it with something
>invalid such as "set nameddswgs utf8" (which returns an error in
>mysqlclient), but I get no error in Catalyst. That's why I ask this
>question. ;-)
>
>	Thanks, Michele.
>
>  
>



More information about the Catalyst mailing list