Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASCII codec encoding error #4

Open
gworley3 opened this issue May 11, 2018 · 0 comments
Open

ASCII codec encoding error #4

gworley3 opened this issue May 11, 2018 · 0 comments

Comments

@gworley3
Copy link

I'm seeing the following error when trying to select from one of my foreign tables (we have data stored in UTF-8):

postgres=# select * from remote_companies limit 1;
ERROR:  Error in python: UnicodeEncodeError
DETAIL:  'ascii' codec can't encode character u'\xe4' in position 69: ordinal not in range(128)

I already tried switching Postgres to UTF8 (recreated the database to use UTF8 encoding and en_US.UTF8 locale and made sure client_encoding is set to UTF8) but didn't resolve it, so seems to be happening in the Python code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant