Synopsis

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

Purpose

Convert UTF16 string to UTF8 string.

Description

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

Input

option

Not Used

src

UTF16 string to be converted

Output

dest

UTF8 string in allocated memory.

Return

      UNL_NOERR
      No Error
      UNL_CONVERSION_ERR
      Low level error return
      .fi