Paul Johnston wrote:
3) unicode fields
Ticket #298 had been created for this, but is not a complete solution. I have re-opened the ticker, with this comment:

Unicode columns are still created as VARCHAR. The problem is that Unicode is a TypeDecorator <http://www.sqlalchemy.org/trac/wiki/TypeDecorator> around a String type, and that TypeDecorator <http://www.sqlalchemy.org/trac/wiki/TypeDecorator>.dialect_impl gets the database type for the type that it wraps (i.e. String, not Unicode).

I have the very same problem with Firebird, which supports both a database-wide and a per-field setting for the the encoding. In other words it has these two forms:

  encfield NCHAR(10)
  encfield2 VARCHAR(10) CHARACTER SET UTF8

This requires a general solution.

ciao, lele.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to