oh, sorry, this is not the issue in this specific case as you're using  
SQLite which represents everything as unicode anyway, although my  
solution is required if you're going to use a database like  
postgres.   The specific traceback here is because __repr__ is not  
allowed to return a non-ascii string in python.  Change it to  
__str__(), or alternatively change the "%s" tokens to "%r" to produce  
a repr() of each element.

On Oct 26, 2008, at 5:43 PM, Sebastian Preuß wrote:

>
> Sorry that dosn't work.
> I try:
>
> engine = create_engine('sqlite:///tutorial_sqlalchemy05.sqlite',
> convert_unicode=True) No.
>
> u"xxx" No.
>
> Combination... No
>
>
>
> Am Sonntag, den 26.10.2008, 15:32 -0400 schrieb Michael Bayer:
>> use the Unicode type instead of the String type, or alternatively
>> set
>> convert_unicode=True on your create_engine() call.
>>
>> On Oct 26, 2008, at 2:23 PM, dunkelgruen wrote:
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" 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/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to