unicode.h File Reference

Unicode conversion functions. More...

#include <gpac/setup.h>
Include dependency graph for unicode.h:

Functions

u32 utf8_to_ucs4 (u32 *ucs4_buf, u32 utf8_len, unsigned char *utf8_buf)
 Unicode conversion from UTF-8 to UCS-4.

Detailed Description

>


Function Documentation

u32 utf8_to_ucs4 ( u32 ucs4_buf,
u32  utf8_len,
unsigned char *  utf8_buf 
)
Parameters:
ucs4_buf The UCS-4 buffer to fill
utf8_len The length of the UTF-8 buffer
utf8_buf The buffer containing the UTF-8 data
Returns:
the length of the ucs4_buf. Note that the ucs4_buf should be allocated by parent and should be at least utf8_len * 4

Generated on 4 May 2016 for libgpac by  doxygen 1.6.1