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

use base64 instead of iso-8859-1 #99

Merged
merged 2 commits into from
May 30, 2017

Conversation

buptyzc
Copy link
Contributor

@buptyzc buptyzc commented May 27, 2017

gzip make byte array, and transfer it to string with base64 compress method. ISO-8859-1 string is right but not good.

@chavdar
Copy link
Contributor

chavdar commented May 29, 2017

Instead of relying on the non-portable sun.misc package, I suggest using guava's BaseEncoding.
You may have to upgrade guava's version in subprojects.gradle .

@buptyzc
Copy link
Contributor Author

buptyzc commented May 30, 2017

thank you , I upgrade guava version and use the base64 method instead of sun version.

Copy link
Contributor

@chavdar chavdar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@chavdar chavdar merged commit 85255c3 into linkedin:master May 30, 2017
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.

2 participants