[eluser]Galford[/eluser]
Hi all.
I have problem with encoding. The problem is in CI 1.6.1
When I put some text with polish chars like 'łęśź' in database store them as '?'.
Database and tables are configured as utf and utf_general_ci, database is MySQL.
I configured database in CI:
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";
Charset in HTML is utf-8 (charset=utf-8).
I tried to use $this->db->query("SET NAMES 'utf'"); but it doesn't work.
The problem is on my local computer and external server.
When I change CI from 1.6.1 to 1.5.4 the problem disappeared and its work fine just on local machine.
What can be the problem? Please help.