> Question 2.
> ~~~~~~~~~
> I have a col defined like this:
> 
> class MyClass(SQLObject):
>     Name = UnicodeCol(alternateID=True, length=20, dbEncoding='gb2312')
> 
> ....
> 
> name = u'天下无敌'  #some chinese character
> found = MyClass.byName(name)  # This caused an exception that looks
> like that there is some encoding problem.

Show us the actual error-message. Otherwise it is impossible to debug.

Diez


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