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

wnbd-client: use utf-8 #131

Merged
merged 1 commit into from
Nov 22, 2023
Merged

Conversation

petrutlucian94
Copy link
Member

wnbd-client doesn't currently accept unicode CLI arguments.

We'll use utf-8 instead of utf-16 for the following reasons:

  • better interoperability
  • the wnbd API is mostly using char* instead of wchar*
  • we already require Windows >= 10.0.17134.0, so we're free to use the utf-8 locale

wnbd-client doesn't currently accept unicode CLI arguments.

We'll use utf-8 instead of utf-16 for the following reasons:

* better interoperability
* the wnbd API is mostly using char* instead of wchar*
* we already require Windows >= 10.0.17134.0, so we're free to
  use the utf-8 locale
* Microsoft recommends new applications to use the utf-8 code page

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
@petrutlucian94 petrutlucian94 merged commit 20e029d into cloudbase:main Nov 22, 2023
3 checks passed
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.

None yet

1 participant