Welcome Guest, Not a member yet? Register   Sign In
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



Theme © iAndrew 2016 - Forum software by © MyBB