Welcome Guest, Not a member yet? Register   Sign In
Wierdly lost utf8 characters when inserting into the database
#4

[eluser]TheFuzzy0ne[/eluser]
It's unlikely that AR is the cause of the problem, as the only thing it does to your data, is escape it before inserting it into the database. Can you confirm it's actually stored incorrectly in the database, or is it just that it's not displaying correctly in the output page?

If you add this to your controller:

Code:
$this->output->enable_profiler(TRUE);

You will get a printout at the bottom of each page showing you what queries have been fired at your database. This won't work, however, if you redirect to another page after the insert.


Messages In This Thread
Wierdly lost utf8 characters when inserting into the database - by El Forum - 04-06-2009, 06:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB