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

Is there an interface for code conversion that can convert UTF8 encoding to GBK encoding? #36

Open
tlwh163 opened this issue Dec 8, 2019 · 1 comment

Comments

@tlwh163
Copy link

tlwh163 commented Dec 8, 2019

Is there an interface for code conversion that can convert UTF8 encoding to GBK encoding?

like:

(UTF8) --> (GBK)
黄金鸟 --> '\xBB\xC6\xBD\xF0\xC4\xF1'

@tlwh163
Copy link
Author

tlwh163 commented Dec 8, 2019

Because it seems, UNICODE does not have an algorithm that can be converted to GBK code, which must be converted through W32API

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

1 participant