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

chinese char is messy code #107

Open
jiang-zhong-xi opened this issue Nov 4, 2023 · 3 comments
Open

chinese char is messy code #107

jiang-zhong-xi opened this issue Nov 4, 2023 · 3 comments

Comments

@jiang-zhong-xi
Copy link

chinese char is messy code when I call python function from node and pass some chinese char as arguments.

@extremeheat
Copy link
Owner

Can you show an example of the problem? It's not clear what you are talking about. Are the strings not converted correctly?

@jiang-zhong-xi
Copy link
Author

computer A works fine, but computer B bad.

computer A uses 'utf-8' for encode and decode in python side, but computer B uses 'gbk' for encode and decode in python side, the encode and decode way depends on System way.

how to resolve this? looking help.

@jiang-zhong-xi
Copy link
Author

@extremeheat

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