-
Notifications
You must be signed in to change notification settings - Fork 23
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
How to send a unicode query? #27
Comments
I confirmed that it's working if I specified query as a string instead of bytes. Because td-client-python can manage unicode string, you must not need to call
|
I confirmed the reproduction of |
…d_output` when sending multi-byte payloads on Python 2.x (#27)
I opened #28 as a workaround for unicode encoding issue on Python 2.x. I hope it helps. |
I've released 0.8.0 including the fixes. Just upgrading to the latest release should solve the issue. Feel free to reopen is you still have some issues. |
Sorry for the late follow up - I can confirm that v0.8.0 fixed this. Thanks! |
I'm using a code similar to the following:
And getting the following exception:
This is the stack trace:
I've tried encoding it first (
query.encode('utf-8')
), but got the same error.Am I doing something wrong?
The text was updated successfully, but these errors were encountered: