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

Standard facility to convert between ANSI and UNICODE. Similar to ATL::CA2W and ATL::CW2A #426

Open
malkindan opened this issue Jan 21, 2024 · 2 comments
Labels
feature-request New feature or request

Comments

@malkindan
Copy link

Is there any standard way to convert strings in WIL? I could not find any examples.

@dunhor
Copy link
Member

dunhor commented Jan 22, 2024

You mean like a wrapper around WideCharToMultiByte & vice-versa? Nothing currently seems to exist from what I can see, but such a thing might be generally useful. E.g. something like wil::WideCharToMultiByte<StringT>(...)/wil::WideCharToMultiByteNoThrow(..., StringT&)

@dunhor dunhor added the feature-request New feature or request label Jan 22, 2024
@malkindan
Copy link
Author

Yes . Wrappers over WideCharToMultiByte and MultiByteToWideChar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants