• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.