Welcome Guest, Not a member yet? Register   Sign In
Inconsistent encoding returned [SOLVED]
#4

[eluser]Phil Sturgeon[/eluser]
You have characters stored in the database as latin1_swedish_ci that are being converted incorectly to utf8 when you connect.

You need to set everything everywhere to be totally utf8 and utf8_unicode_ci. And I mean everywhere. Your desktop MySQL client, PHP connections, default table schema and sometimes even the fields themselves.

If you put utf8 everywhere (even your PHP header and HTML meta headeR) you will not have this problem.

http://philsturgeon.co.uk/blog/2009/08/U...odeIgniter


Messages In This Thread
Inconsistent encoding returned [SOLVED] - by El Forum - 04-06-2011, 05:29 AM
Inconsistent encoding returned [SOLVED] - by El Forum - 04-06-2011, 05:36 AM
Inconsistent encoding returned [SOLVED] - by El Forum - 04-06-2011, 05:58 AM
Inconsistent encoding returned [SOLVED] - by El Forum - 04-06-2011, 07:48 AM
Inconsistent encoding returned [SOLVED] - by El Forum - 04-06-2011, 12:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB