Wednesday, December 1, 2010

Re: Django 1.2.3, Oracle with Character Set WE8MSWIN1252 - 'utf8' codec can't decode bytes

On Wed, Dec 1, 2010 at 7:58 PM, Anurag Chourasia
<anurag.chourasia@gmail.com> wrote:

> This is using cx_Oracle and it works fine
> ===============================
>>>> cx_Oracle.version
> '5.0.3'
>>>> cursor.execute("select to_term from terminology_map where id=316")
>>>> cursor.fetchone()[0]
> 'Registro guardado con \xe9xito'

It's not clear to me which setting you used here. Was this using the
.UTF8 NLS_LANG as I requested? If so, then in fact this is also
coming back incorrectly, because that is not UTF-8. If not, then
we're comparing apples to oranges, since Django uses the .UTF8
setting.

Thanks,
Ian

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

No comments:

Post a Comment