Proper fix utf8 command line arguments (#14253)
https://github.com/protocolbuffers/protobuf/pull/14197
Tried to fix utf-8 issue, but it didnt handle multibyte chars.
Only way I found that works constantly is using `CommandLineToArgvW`.
To not ripple out `wchar_t`, I convert to and from where needed
Closes #14253
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/14253 from hknielsen:proper-fix-none-ascii-issue cad753e9e6
PiperOrigin-RevId: 599990369
pull/15519/head
parent
f0ccf26e63
commit
1eff9d7451
4 changed files with 43 additions and 3 deletions
Loading…
Reference in new issue