Skip to content
Snippets Groups Projects
Commit 4e894eb2 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

SL-10153: Improve ll_convert_string_to_wide() and its converse.

Instead of returning a wchar_t* and requiring the caller to delete it later,
return a std::basic_string<wchar_t> that's self-cleaning. If the caller wants
a wchar_t*, s/he can call c_str() on the returned string.

Default the code_page parameter to CP_UTF8, since we try to be really
consistent about using UTF-8 encoding for all our internal std::strings.
parent bb4a649b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment