星期二, 6月 05, 2007

Unicode issue in MySQL

If you want to create a database with Unicode support, please use the following command to create the database

create database [database-name]
character set utf8 collate utf8_unicode_ci;
After that, in you Rails application, inside the database.yml, please add
encoding: utf8

沒有留言: