Hello guys,

it´s me again with another unicode problem.

when i define my class like this, everything works fine:

class myclass(SQLObject):
  sqlmeta: pass
  firstname=UnicodeCol()
  lastname=UnicodeCol()


but when i define it like this (because it´s a legacy-table) i receive
an error because of the unicoded cols (containing german umlauts) in
the table:

class myclass(SQLObject):
  sqlmeta:
    fromDatabase=True


i get an error!

how can i make fromDatabase-columns use UnicodeCols instead of StringCols?

Regards,
Frank
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to