[Twisted-Python] unicode for pyPgSQL

Pet petshmidt at googlemail.com
Wed Aug 12 11:28:30 EDT 2009


does pyPgSQL doesn't support unicode?

execute(query, params) #all items in params list are of  <type 'unicode'>

I'm getting
'ascii' codec can't encode character u'\xfc' in position 1: ordinal
not in range(128)

Do I need encode my params before sending a query and then decode all
results back to unicode?


More information about the Twisted-Python mailing list