-
Notifications
You must be signed in to change notification settings - Fork 240
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
Add UTF-8 configuration option for wil::ResultException::what() #238
Comments
Alternately - |
Yes, that would be useful as well. For me personally, UTF-8 would be simpler as I'm already generally dealing with it and so could avoid special handling for |
Not all UTF8 strings can be represented in UCS2, though?
… 5 maj 2022 kl. 23:22 skrev Reupen Shah ***@***.***>:
Yes, that would be useful as well. For me personally, UTF-8 would be simpler as I'm already generally dealing with it and so could avoid special handling for wil::ResultException.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
|
Windows uses UTF-16, not UCS-2. |
Right. I might have thought about the fact that fileNAMES in Windows can contain data which is not valid UTF16. |
IIRC all standard c++ exceptions' |
Hi,
Am I right in thinking that
wil::ResultException::what()
returns an ANSI-encoded string?It'd be useful to be able to configure the library to return a UTF-8 string instead.
Thanks
The text was updated successfully, but these errors were encountered: