On 28 Sep 2006, at 02:15 , Pete Yandell wrote:
We can certainly make sure tables created with migrations have the right character set,

If you set the default character set to utf-8 when you create a MySQL or PostgreSQL database, all tables you create using Rails migrations will inherit this character set. In other words, if you create your MySQL database with:

  > CREATE DATABASE db_name CHARACTER SET utf8 COLLATE utf8_unicode_ci;

or your PostgreSQL database with:

  $ createdb --encoding=UTF8 db_name

all tables will use UTF-8 so there's not really a need to set or check the character set on the tables.

Kind regards,
Thijs

--
Fingertips - http://www.fngtps.com

Phone: +31 (0)6 24204845
Skype: tvandervossen

MSN Messenger: [EMAIL PROTECTED]
iChat/AOL:  [EMAIL PROTECTED]
Jabber IM: [EMAIL PROTECTED]



Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to