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

修复WxaUtil的decryptUserInfo方法中文乱码问题 #190

Merged
merged 1 commit into from
Dec 17, 2018

Conversation

Akimizu1994
Copy link
Contributor

Base64字符串decode时调用的是StringUtils.getBytesUtf8()方法,指定了utf-8编码,而最后结果调用String构造函数时未指定编码,将使用Charset.defaultCharset()的默认编码,在有些机器上出现中文乱码的情况。

@liyiorg liyiorg merged commit 8834ab0 into liyiorg:dev Dec 17, 2018
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

2 participants