-
Notifications
You must be signed in to change notification settings - Fork 684
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
Decoding binary as utf-8 #132
Comments
Can you post the type of the column? Le jeu. 17 sept. 2015 à 00:56, Martin Amps [email protected] a
|
Apologies - it’s a varbinary(15)
|
No problem :) Thanks a lot for the report. Sorry if I was rude in my Le jeu. 17 sept. 2015 à 08:15, Martin Amps [email protected] a
|
No problem at all. Let me know if I can help at all debugging further - right now I just wrapped it in a try: except: block to make it fail a bit more gracefully, was planning to dive in a little deeper tomorrow. Bed time here on the west coast!
|
I think we can ignore the invalid unicode char (do not break existing app) or return a byte string |
I agree, it would probably be useful to parse it out in future but for now the potential exceptions should be fixed
|
I get this trace:
I printed a repr of the packet and it is essentially:
This is row based replication where the master was originally sent
INET6_ATON('::1')
for example.What's the recommended solution here? I'm surprised no one else has hit this as many column types leverage binary.
Thanks!
The text was updated successfully, but these errors were encountered: