-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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
Unicode support in Python 2? #14446
Comments
I can confirm that Python 2 gRPC doesn't accept unicode characters. The Python gRPC API accepts the |
I'm not yet clear on what is the story of this issue. What system or subsystem is it that is directly using gRPC Python, what specifically is meant by "unicode characters", and how are these unicode characters being passed to gRPC Python? The "Exception iterating responses: 'ascii' codec can't encode character u'\u2013' in position 91: ordinal not in range(128)" part of your report looks really, really odd to me. Not necessarily wrong, but very strange. |
It was fixed on client side in PR apache/zeppelin#2810 by adding Thanks. |
@Tagar: thank you for following up! |
A debug log from Apache Zeppelin python "interpreter" when code has an unicode character [1].
It seems grpc does't support unicode data in Python 2?
Related Zeppelin jira to investigate it on Zeppelin side -
https://issues.apache.org/jira/browse/ZEPPELIN-3239
Apache Zeppelin has recently switched to use grpc -> ipython so there might be something isn't good there?
Exception happens in grpc/_server.py's _take_response_from_response_iterator():
[1]
The text was updated successfully, but these errors were encountered: