Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Exception when query contains Unicode data #61

petehunt opened this Issue Jul 27, 2011 · 3 comments


None yet
4 participants

petehunt commented Jul 27, 2011

Originally filed by sorin.sb...@gmail.com on 2011-04-27T12:53:14

What steps will reproduce the problem?

  1. run a select on a database containing Unicode data

What is the expected output?
Valid unicode strings and later you'' get exceptions like
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 196: ordinal not in range(128)

What do you see instead?
text encoded as ascii

What version of the product are you using? On what operating system?
revision 63, python 2.6 on OS X

Also tried with: use_unicode=True, charset="utf8" (no changes observed)

This is a critical error, it is impossible to "guess" encoding from invalid ascii string.


j0hnsmith commented Oct 20, 2011

comment deleted

I suspect this will fix be fixed by petehunt#93


methane commented Sep 30, 2013

I can't confirm this issue on current version.

@methane methane closed this Sep 30, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment