Re: [Twisted-Python] unicode for pyPgSQL

2009-08-13 Thread Pet
On Wed, Aug 12, 2009 at 6:51 PM, wrote: > On 03:28 pm, petshm...@googlemail.com wrote: >>Hello, >> >>does pyPgSQL doesn't support unicode? >> >>execute(query, params) #all items in params list are of  >'unicode'> >> >>I'm getting >>'ascii' codec can't encode character u'\xfc' in position 1: ordina

Re: [Twisted-Python] unicode for pyPgSQL

2009-08-12 Thread Glyph Lefkowitz
On Wed, Aug 12, 2009 at 12:51 PM, wrote: > I did recently learn that pyPgSQL doesn't support bind parameters, > apparently resulting in almost any use of it insecure and vulnerable to > SQL injection attacks. You may want to investigate this further before > deciding if it's worth figuring out h

Re: [Twisted-Python] unicode for pyPgSQL

2009-08-12 Thread exarkun
On 03:28 pm, petshm...@googlemail.com wrote: >Hello, > >does pyPgSQL doesn't support unicode? > >execute(query, params) #all items in params list are of '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 b

Re: [Twisted-Python] unicode for pyPgSQL

2009-08-12 Thread Glyph Lefkowitz
On Wed, Aug 12, 2009 at 11:28 AM, Pet wrote: > Hello, > > does pyPgSQL doesn't support unicode? > Sounds like a question for the pyPgSQL list, not the Twisted list :) ___ Twisted-Python mail