Welcome Guest, Not a member yet? Register   Sign In
MySQL and extended ASCII
#1

[eluser]Xandrios[/eluser]
Hi,

I noticed that string values from my MySQL database are not properly printed with CI. A simple separate PHP script that echoes the same values works fine. However with CI (using an activerecord query) the 'รก' will become an '?' and so on.

I am guessing this has something to do with some kind of Character encoding. The MySQL tables are set to 'latin1_swedish_ci'. Is it possible to somehow adjust the char encoding CI uses? Or could something else be the problem?

Running PHP5 with MySQL 5.

Thanks Smile


Messages In This Thread
MySQL and extended ASCII - by El Forum - 07-12-2007, 01:16 PM
MySQL and extended ASCII - by El Forum - 07-12-2007, 01:59 PM
MySQL and extended ASCII - by El Forum - 07-12-2007, 02:23 PM
MySQL and extended ASCII - by El Forum - 07-12-2007, 08:21 PM
MySQL and extended ASCII - by El Forum - 07-20-2007, 10:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB