On Sun, Jan 29, 2012 at 11:17:09PM +0100, Petr Jake?? wrote:
>   File
> "/usr/lib/python2.5/site-packages/SQLObject-0.10.1-py2.5.egg/sqlobject/dbconnection.py",
> line 329, in _executeRetry
>     return cursor.execute(query)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in
> position 101: ordinal not in range(128)

   It seems Firebird DB API driver can't process unicode.

>  ============= set method start ===============
> <type 'str'> telKontaktniOsoby <type 'unicode'> +420734803579
> <type 'str'> kontaktniOsobaPrijmeni <type 'unicode'> Zburn??k
> <type 'str'> nazevKontaktMistaPoruchy <type 'unicode'> recepce
> 
> ============ _SO_update start =====================
> <type 'unicode'> tel_kontaktni_osoby <type 'unicode'> +420734803579
> <type 'unicode'> kontaktni_osoba_prijmeni <type 'unicode'> Zburn??k
> <type 'unicode'> nazev_kontakt_mista_poruchy <type 'unicode'> recepce

   You made all columns StringCol where I've advised you to make them
all UnicodeCol.

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            p...@phdru.name
           Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to