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

NekoAPI does not convert string encoding correctly #25

Closed
mandel59 opened this issue Mar 2, 2014 · 1 comment
Closed

NekoAPI does not convert string encoding correctly #25

mandel59 opened this issue Mar 2, 2014 · 1 comment

Comments

@mandel59
Copy link
Contributor

mandel59 commented Mar 2, 2014

api_val_wstring copies UTF-8 string to UTF-16 string.
https://github.com/HaxeFoundation/hxcpp/blob/master/project/libs/nekoapi/NekoAPI.cpp#L210
api_alloc_wstring_len copies UTF-16 string to UTF-8 string.
https://github.com/HaxeFoundation/hxcpp/blob/master/project/libs/nekoapi/NekoAPI.cpp#L259
They does not convert string encoding correctly.

@hughsando
Copy link
Member

This should be fixed now.

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