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

现在有个需求是String转为gbk编码,能实现吗 #3

Closed
Eiter opened this issue Nov 5, 2018 · 1 comment
Closed

现在有个需求是String转为gbk编码,能实现吗 #3

Eiter opened this issue Nov 5, 2018 · 1 comment

Comments

@Eiter
Copy link

Eiter commented Nov 5, 2018

现在有个需求是String转为gbk编码,能实现吗,在线等 挺急的 ,跪求

@inmyfree
Copy link

直接传入str.codeUnits即可,如:

decodeGbk(str.codeUnits);

@jzoom jzoom closed this as completed in 2ed8e95 Feb 28, 2019
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

No branches or pull requests

2 participants