From: Oleg B. <ph...@ph...> - 2012-01-29 22:36:17
|
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/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |