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]After that, in you Rails application, inside the database.yml, please add
character set utf8 collate utf8_unicode_ci;
encoding: utf8
沒有留言:
發佈留言