On Wed, Sep 16, 2009 at 04:59:00PM +0200, Frank Wagner wrote:
> NAME = StringCol(length=40, dbName="NAME")
>
> def _get_NAME(self):
> return self._SO_get_NAME() and unicode(self._SO_get_NAME(),
> 'iso-8859-1').strip() or u''
Frank, why don't you use UnicodeCol?
NAME = UnicodeCol(length=40, dbName="NAME", dbEncoding='iso-8859-1')
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [email protected]
Programmers don't die, they just GOSUB without RETURN.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss