Synopsis

PDX_MSGT unl_StrUTF8ToUTF16(long option, const unsigned char *src, UNL_CHAR16 **dest)

Purpose

Convert UTF8 string to UTF16 string.

Description

Convert UTF8 string to UTF16 string. Note: Param dest is allocated dynamically, remember to free it.

Input

option

Not Used

src

UTF8 string to be converted

Output

dest

UTF16 string in allocated memory

Return

      UNL_NOERR
      No Error
      UNL_CONVERSION_ERR
      Low level error return
      .fi