Re: Error: no Python Codec for client encoding
От | Federico Di Gregorio |
---|---|
Тема | Re: Error: no Python Codec for client encoding |
Дата | |
Msg-id | 4E9FD3A8.8090006@dndg.it обсуждение исходный текст |
Ответ на | Re: Error: no Python Codec for client encoding (Federico Di Gregorio <fog@dndg.it>) |
Ответы |
Re: Error: no Python Codec for client encoding
|
Список | psycopg |
On 20/10/11 09:45, Federico Di Gregorio wrote: > On 19/10/11 19:08, Daniele Varrazzo wrote: >> On Wed, Oct 19, 2011 at 5:59 PM, Frank Kauff <fkauff@biologie.uni-kl.de> wrote: >>>> Hi Daniele, >>>> >>>> it's a standard Zope installation and a psycopg installation out of the box >>>> - so I didn't change any configuration. How can i configure it so that is no >>>> longer an empty string? >> I have no idea, I'm not a zope user. Somebody else? > > Don't know why Zope is passing an empty string. We should probably fix > the DA to use a sane default (UTF-8?) I just pushed to the devel branch a small change that, if Zope explicitly pass an empty "enc" argument just converts it to "utf-8". Frank, can you please clone from: git://luna.dndg.it/public/psycopg2 (devel branch) and test it? federico -- Federico Di Gregorio fog@initd.org - Ma cos'ha il tuo pesce rosso, l'orchite? - Si, ha un occhio solo, la voce roca e mangia gli altri pesci.
В списке psycopg по дате отправления: