From: Oleg B. <ph...@ph...> - 2008-01-07 19:49:09
|
On Mon, Jan 07, 2008 at 02:38:08PM -0500, Glenn MacGregor wrote: > Changing the connection string to incorporate charset=latin1 fails at a > different place. With that in the string the failure happens at > dbconnection.py line 383. Line 383 in the trunk is return ("INSERT INTO %s (%s) VALUES (%s)" % (table, ', '.join(names), ', '.join([self.sqlrepr(v) for v in values]))) so you probably got an error from sqlrepr, right? What was the error? If it is UnicodeDecodeError - I do not understand where from have you got unicode now. You are using str everywhere, right? Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |