----- Original Message -----
From: Simen Haugen
[mailto:[EMAIL PROTECTED]
To: Dabo Users list
[mailto:[EMAIL PROTECTED]
Sent: Wed, 16 Aug 2006 05:19:53 -0700
Subject:
[dabo-users] Problems with sqlite


> Hi.
> 
> I get the following error in fetchall() (using sqlite):
> OperationalError: Could not decode to UTF-8 column <unknown column name>
> with text Linköping
> This happens in dCursorMixin.py:199
> 
> My cursor has Encoding = "latin-1"
> 
> If I run queries in sqlite the queries work (but the fields doesn't show up
> with decoded characters, so "Linköping" is "Link÷ping").
> 
> This puzzles me, because one of the tables (that is contructed using two
> others with these fields) works fine. I can select this field without
> getting the error...

The default encoding for Dabo is utf-8. You can change this most easily in your 
bizobj.Encoding property: set it to "latin-1".

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to