From: Oleg B. <ph...@ph...> - 2008-01-07 19:29:35
|
On Mon, Jan 07, 2008 at 02:00:51PM -0500, Glenn MacGregor wrote: > it fails at a different location, line 146 of cursors.py of the Mysqldb > package. > > query = query.encode(charset) > > charset is latin1 and it fails with the error: > > UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 36: > ordinal not in range(128) Does "charset=latin1" without "use_unicode" help? Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |