CodeIgniter Forums
Migration to 1.6 database problems - 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: Migration to 1.6 database problems (/showthread.php?tid=5710)



Migration to 1.6 database problems - El Forum - 02-01-2008

[eluser]Kurai[/eluser]
Hi there!
I have made the migration to the new version.

Just a problem: before migrating I used as encoding Utf8-Unicode-CI for my db.
Right after the migration I've noticed that the default in the Codeigniter DB configuration is Utf8-General-CI. And all the stuff I created has problems with accents. So I've changed all my db encoding according to the new default encoding.

Now I have a bigger problem: not only the old texts show wrong accents, but now, if I create a new text, it justs skip before the first accented letter (e.g.: if I try to put the sentence "Marco รจ simpatico" I get only "Marco " in the DB).

What should I do?

Thank you!


Migration to 1.6 database problems - El Forum - 02-01-2008

[eluser]Kurai[/eluser]
Solved. I just haven't declared utf-8 as the encoding in HTML. Sorry to have bothered you.