Paul Johnston wrote:
Hi,

> Did you declare
> your table columns as Unicode?

I am auto leading the structure from the database.

Ah, the problem is probably that the columns are reflecting as String, not Unicode.

Tough one to fix! I'd probably hack the SA source code to reflect as Unicode. Another option is to use override the reflection, for the unicode columns.

Paul

I had this issue and I ended up changing my model definitions to use unicode instead of string and then I added the extra param on the end of my dsn string ?use_unicode=1  I think it was.

This solved the issue for me as the strings were taken care of straight away by sqlalchemy before they hit anything else.

You might see if the dns flag helps when autoloading the structure as well.

Rick

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

Reply via email to