• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
when sql query has utf character in it, codeigniter doesn't execute query

#6
[eluser]Randy Casburn[/eluser]
Whatever works for you. Either way you are "monkeying around with the encoding" right?

Code:
[ source ] ->  [ encode ] -> [ manipulate ] -> [ generate ] -> [ output ]

From a CI perspective if the Source is already encoded the flow looks like this...

Code:
[ source ] ->  [ manipulate ] -> [ generate ] -> [ output ]

From a philosophical perspective, implementing your hack is really just a bandage on a wound that will need to be looked at again and again. It seems implementing true UTF-8 enabled source files as input to a system expecting UTF-8 source data would be a more appropriate fix.

Either way thought, I'm glad you got it fixed.

Randy


Messages In This Thread
when sql query has utf character in it, codeigniter doesn't execute query - by El Forum - 08-24-2008, 07:44 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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