Maybe it should be a parameter with defaults to utf8

On Wed, Jan 25, 2012 at 8:03 PM, mdorval <rockingdor...@gmail.com> wrote:

> I've tracked down this problem to this code in DAL create_table:
>
>         if self.dbengine == 'mysql':
>             if not hasattr(table, "_primarykey"):
>                 fields.append('PRIMARY KEY(%s)' % table._id.name)
>             other = ' ENGINE=InnoDB CHARACTER SET utf8;'
>
> hard coding the character set in the create statement causes all tables
> created to be utf8's default collation utf8_general_ci, regardless of any
> settings set on the database or individual schemas. Can this line be
> removed?
>



-- 

Bruno Rocha
[http://rochacbruno.com.br]

Reply via email to