On Sat, 24 Oct 2009 04:02:04 -0700 (PDT)
sector119 <sector...@gmail.com> wrote:

> 
> Hi All.
> 
> I've got UnicodeDecodeError: 'ascii' codec can't decode byte 0xa1 in
> position 3: ordinal not in range(128)
> Why it can happen? I use client_encoding=utf8 at postgresql.conf and
> encoding=utf-8 at create_engine.
> 

Is the PG database itself using UTF-8? I think new databases usually
default to LATIN-1.

It is just a guess: I'm not even sure if it would actually matter for
this problem, but maybe it is something to check.

-Kyle

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to