A3DMiscUnicodeToUTF8
-
A3DStatus
A3DMiscUnicodeToUTF8(const A3DUTF8Char *pcInputBuffer, A3DUTF8Char acOutputBuffer[]) Converts UTF-16 strings to an array UTF-8 encoded characters on Windows.
2.0This function returns an array of UTF-8 encoded characters.
The input buffer is cast and interpreted as a Unicode string (
wchar_t*).On Linux, this API simply copies the inputA3DUTF8Char*string into the outputA3DUTF8Char*string.Return Values
A3D_SUCCESS:
A3D_INVALID_ENTITY_NULL:
A3D_INITIALIZE_NOT_CALLED:
Returns
A3D_SUCCESSon success, or an error code on failure