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

#4
[eluser]Randy Casburn[/eluser]
Notepad++ is automatically detecting the filetype. And it appears, for your language it is doing it incorrectly. This is from notepad++ docs:

Quote:Notepad++ "guesses" the encoding mode of the loaded file by seeing if the unicode characters is present in the file. If not, then the ANSI mode will be set automatically.

This happens even if you set UTF-8 without BOM as the file type sometimes.

I would force all files to be saved in UTF-8 and bypass this automatic feature if it is possible.

Randy


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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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