CodeIgniter Forums
how to insert unicode data into table with codeigniter? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: how to insert unicode data into table with codeigniter? (/thread-48131.html)



how to insert unicode data into table with codeigniter? - El Forum - 01-05-2012

[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