One of the bad thing about installing MySql using Ubuntu Software Center is that it does not allow you to select the default collation of MySql Server. This is one of the nice things you would find in the Windows version of MySql installer.
In any case, to set MySql collation to use UTF8, all you have to do is:
- Edit your MySql configuration file (typically found at /etc/mysql/my.cnf)
- Under the section [mysqld]add the following lines:
init-connect=’SET NAMES utf8′
- Restart your MySql