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
ODBC error 50311 source encoding UTF-8 using ICU using TD ODBC 16.20 #112
Comments
same error when using driver ODBC 16.10 and when using python driver teradatasql: File "/usr/local/lib/python3.7/site-packages/teradata/udaexec.py", line 836, in fetchall |
Has there been any resolution to this? I think this is an issue in Mac/Linux like environment |
anyone working on or thinking about this? should i just downgrade my driver to 16.10? or 15.*? my error: Error: ('HY000', '[HY000] [Teradata][Support] (50311) Error converting invalid input with source encoding UTF-8 using ICU. Rejected bytes began with: E474. (50311) (SQLGetData)') my environment: centos 7 |
One workaround is just to use teradatasql for python: pip install teradatasql==16.20.0.39
conn = teradatasql.connect(None, host=host, user=user, password=password) i do not have any encoding issue with this version of the driver. |
Solved this by adding
in odbc.ini file. I figured that, there is no need to translate for my application and the default was ASCII |
can anyone confirm when/if this makes it to the next release? :) |
I solved this by passing the
|
@pberden thanks, worked for me! |
Seeing this error with Teradata ODBC 16.20 but not 16.10. Not sure if this is a bug in the underlying library or maybe just an incompatibility?
The text was updated successfully, but these errors were encountered: