Mount Fuji Engine  0.8b
MF_API size_t MFString_CopyUTF16ToUTF8 ( char *  pBuffer,
const wchar_t *  pString 
)

Converts a UTF16 string to a UTF8 string placing the result in the target buffer.

Parameters
pBufferTarget buffer to output the resulting string.
pStringUTF16 string to convert.
Returns
The length of the result string in bytes.
See Also
MFString_UFT8ToWChar()
MFString_UFT8AsWChar()