CodeIgniter Forums
Charset ISO-8859-1 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Charset ISO-8859-1 (/showthread.php?tid=22671)

Pages: 1 2


Charset ISO-8859-1 - El Forum - 09-18-2009

[eluser]WebbHelp[/eluser]
Thanks for helping.

I wrote in config/database.php:

$db ['default'] ['char_set'] = "latin1";
$db ['default'] ['dbcollat'] = "latin1_swedish_ci";

And now it works, thank you for helping Smile


Charset ISO-8859-1 - El Forum - 09-18-2009

[eluser]InsiteFX[/eluser]
You shoud be using Charset utf-8 and COLLATE utf8_unicode_ci or utf8_general_ci NOT Latin!

Enjoy
InsiteFX


Charset ISO-8859-1 - El Forum - 09-19-2009

[eluser]WebbHelp[/eluser]
Thank you for reply!

Why? is that international and work for all characters?


Charset ISO-8859-1 - El Forum - 09-19-2009

[eluser]InsiteFX[/eluser]
Because it will keep you out of the MySQL hell!

utf8_general_ci is a stripped down version of utf8_unicode_ci.

utf8_unicode_ci handles international character sets better.

Enjoy
InsiteFX