Does not support unicode
Opened this issue · 3 comments
When using with elasticsearch, if you have a character outside the ASCII range, the library fails with
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 0: ordinal not in range(128)
To reproduce, try to index a simple record with a single field containing ä
.
Hey @duncanwiliams I am surprised to hear this report, we index plenty of unicode data into our cluster.
Blindly, I would suggest ensuring you are on the latest version of aws-requests-auth, but it I can help you debug if you provide a full stack trace and the version of python and aws-requests-auth you are using.
Closing due to inactivity
@DavidMuller I had the same problem. I am on python 2.7.
I get the error UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 106185: ordinal not in range(128)
This is where the problem started for me (line 106):
https://github.com/DavidMuller/aws-requests-auth/blob/master/aws_requests_auth/aws_auth.py#L104-L108
How I was able to get around it (pull request):
#26