SCIM Bridge 0.4.x

◆ scim_bridge_wstring_to_string()

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

Translate an ucs4 wide string into an utf8 string.

Parameters
wstrWide string to translate.
strThe destination for the new string.
Returns
The length of the new string. -1 means that it failed to translate.

References RETVAL_FAILED.