SCIMBridge  0.4.x

◆ scim_bridge_string_to_wstring()

ssize_t scim_bridge_string_to_wstring ( wchar **  wstr,
const char *  str 
)

Translate an utf8 string into an ucs4 wide string.

Parameters
strString to translate.
wstrThe destination for the new wide string.
Returns
The length of the new wide string. -1 means that it failed to translate.