-
Notifications
You must be signed in to change notification settings - Fork 53
MTY_MultiToWide
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Convert a UTF-8 string to its wide character equivalent.
bool MTY_MultiToWide(
const char * src,
wchar_t * dst,
uint32_t len
);
src
(const char *
)
Source UTF-8 string.
dst
(wchar_t *
)
Destination wide character string.
len
(uint32_t
)
Length in characters (not bytes) of dst
.
bool
Returns true
on success, false
on failure. Call MTY_GetLog
for details.
Even if a proper wide character conversion fails, this function attempts to fill dst
with a best effort conversion.