Welcome Guest, Not a member yet? Register   Sign In
DB charset/collation problem
#1

[eluser]serans1[/eluser]
Hi,
i have been using CI for few weeks now and i have to say it looks good, i tried to look for an answer in the forums but did not find a solution to my problem (one that not requires hacking of the CI core).

I have a DB with non en languages all fields,tables,and DB collation are set to utf 8.
CI Version 1.71.
CI config have :
$config['charset'] = "UTF-8";

DB config have :
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";

and i am getting grarbage instead of text on non english language.
the same script returns good data when connecting directly and not running through CI.
Hope you can help,
Thanks


Messages In This Thread
DB charset/collation problem - by El Forum - 05-07-2009, 08:51 AM
DB charset/collation problem - by El Forum - 05-07-2009, 09:23 AM
DB charset/collation problem - by El Forum - 05-07-2009, 12:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB