Re: [SQLObject] Unicode problem with MySQL-python < 1.2.2
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2008-10-17 20:58:17
|
On Fri, Oct 17, 2008 at 12:57:03PM -0700, Toshio Kuratomi wrote: > I looked at the SQLObject source and found that SQLObject used to change > the query into a byte string but that's no longer the case. The > relevant revisions are svn diff -r 3021:3022 which removes the > functionality and the chunk of svn diff -r 3175:3176 that removes > self.need_unicode (as it was no longer used). This is an area where SQLObject was changing to and fro many times without much success. Any implemented solution caused troubles for some users. :( > If it was removed just because someone thought it wasn't necessary > (without thinking about old versions of MySQL-python) I'd be happy to > submit a patch which converts to unicode if the MySQL-python version > >=1.2.1 < 1.2.2. IWBN to see a patch, so interested parties can discuss it. Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |