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

Fix #3038 #3044

Merged
merged 2 commits into from
Mar 21, 2024
Merged

Fix #3038 #3044

merged 2 commits into from
Mar 21, 2024

Conversation

Tomas-Zhu
Copy link
Contributor

WideCharToMultiByte is a convert from unicode to utf8, utf8 can use one to four one-byte (8-bit) code units.So (wstr_size+1)*2 is wrong in sometime.

@gabime gabime merged commit 73e2e02 into gabime:v1.x Mar 21, 2024
8 checks passed
@gabime
Copy link
Owner

gabime commented Mar 21, 2024

Thanks @Tomas-Zhu

gabime added a commit that referenced this pull request Mar 22, 2024
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

Successfully merging this pull request may close these issues.

2 participants