A3DMiscUTF8ToUnicode
-
A3DStatus
A3DMiscUTF8ToUnicode(const A3DUTF8Char *pcInputBuffer, A3DUTF8Char acOutputBuffer[]) Converts UTF-8 encoded characters to UTF-16 strings on Windows.
2.0This function returns a UTF-16 string on Windows.
You must cast the string to a wide char pointer (
wchar_t*) depending on the target computer’s characteristics.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