Found the problem:
On Thu, Apr 19, 2007 at 07:42:20PM +0400, Oleg Broytmann wrote:
> File
> "/usr/local/lib/python2.4/site-packages/SQLObject-0.8.2dev_r2514-py2.4.egg/sqlobject/dbconnection.py",
> line 759, in __init__
> dbconn.printDebug(rawconn, self.query, 'Select')
> File
> "/usr/local/lib/python2.4/site-packages/SQLObject-0.8.2dev_r2514-py2.4.egg/sqlobject/dbconnection.py",
> line 303, in printDebug
> print '%(n)2i%(threadName)s/%(name)s%(spaces)s%(sep)s %(s)s' % locals()
> File "/usr/local/lib/python2.4/encodings/koi8_r.py", line 18, in encode
> return codecs.charmap_encode(input,errors,encoding_map)
> UnicodeEncodeError: 'charmap' codec can't encode character u'\u20ac' in
> position 82: character maps to <undefined>
It's debugging print. Without it ("?debug=") both SQLite and Postgres
work; Postgres requires "createdb -E utf-8".
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss