Skip to content
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

Switching Protocol.encodeBytes to use Base64. refs #91 #95

Merged
merged 1 commit into from Jan 2, 2012

Conversation

fdintino
Copy link
Contributor

I changed Protocol.encodeBytes() to use Base64 encoding to fix the issue of bytes in the range of 0xD8 - 0xDF being sent as 0x00 (issue #91).

The Base64.java file is from MiGBase64.

@bartdag
Copy link
Collaborator

bartdag commented Dec 23, 2011

Thanks for your patch! This is really helpful! I will review it and merge it during the holidays.

@agronholm
Copy link

It's still wasteful compared to sending a length + raw bytes, but any working fix is welcome for now.

bartdag added a commit that referenced this pull request Jan 2, 2012
Switching Protocol.encodeBytes to use Base64. refs #91
@bartdag bartdag merged commit 9fde60f into py4j:master Jan 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants