
####################
A3DMiscUTF8ToUnicode
####################

.. c:function:: A3DStatus A3DMiscUTF8ToUnicode(const A3DUTF8Char *pcInputBuffer, A3DUTF8Char acOutputBuffer[])

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DMiscUTF8ToUnicode(*const* :c:type:`~A3DUTF8Char`\ \* **pcInputBuffer**\ , :c:type:`~A3DUTF8Char` **acOutputBuffer**\ )
   
   Converts UTF-8 encoded characters to UTF-16 strings on Windows.
   
   
      2.0
   
   
   This 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 input ``A3DUTF8Char*`` string into the output ``A3DUTF8Char*`` string.
   
   
   **Return Values**
   
   
      **A3D_SUCCESS**\ :
   
      **A3D_INVALID_ENTITY_NULL**\ :
   
      **A3D_INITIALIZE_NOT_CALLED**\ :
   
   
   **Returns**
   
   
      ``A3D_SUCCESS`` on success, or an error code on failure
   
   




