Hi,

I'm observing some strange behaviour: Using an EnumCol with SQLObject  
(sqlite as the backend) leads to a UnicodeDecodeError when inserting  
any non-ascii character into another UnicodeCol. Using the following  
model class with catwalk should demonstrate the problem:

class UnicodeTest (SQLObject):
     myText = UnicodeCol (length=255)
     myChoice = EnumCol (enumValues=('first', 'second'))

Removing the EnumCol is sufficient to make the insert work.

Is this a known problem? Or am I (== newbie when it comes to  
TurboGears) doing something wrong?

Stephan


--~--~---------~--~----~------------~-------~--~----~
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