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

bug: utf16 strings do not correctly null-terminate #51

Closed
mcdurdin opened this issue Sep 25, 2022 · 0 comments · Fixed by keymanapp/dependency-restructure#1 or #52
Closed

bug: utf16 strings do not correctly null-terminate #51

mcdurdin opened this issue Sep 25, 2022 · 0 comments · Fixed by keymanapp/dependency-restructure#1 or #52

Comments

@mcdurdin
Copy link
Contributor

The utf16/ucs2 support for null-terminated strings assumes a single-byte null terminator, instead of two zero bytes. This affects encode(), size(), and decode() for these string types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant