-
Notifications
You must be signed in to change notification settings - Fork 127
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
Keep running into utf-8 errors in Python 3.x #175
Comments
And the above works without problem in |
…pping multibyte utf-8 sequences in half
Because of the 8192 bytes read block size, a utf-8 character can possibly be cut in two, causing the block to be invalid utf-8. Can be fixed by not decoding the block, but instead encode the delimiter and do the replace operation with bytes instead of str. See commit above. |
@mcarlsen did you try opening a PR? |
Sorry, never got that far. I have now started #208 |
qds.py --token=$QUBOLE_KEY_AVAZQUEZ hivecmd getresult "37309793" > my_output
Fails with:
The text was updated successfully, but these errors were encountered: