CodeIgniter Forums

Full Version: how to insert unicode data into table with codeigniter?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
My database config file is set to

Code:
$db['default']['char_set'] = 'utf8';
$db['default']['dbcollat'] = 'utf8_general_ci';

but every time i insert Unicode Characters, they are insert as ????? question marks.

my mysql database info as

Code:
Type : MyISAM
Collation : latin1_swedish_ci

any idea what im doing wrong and how to fix the issue?

Regards