Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6II18n::utf8ToWc ( P6WCHAR pDst,
P6UINT32 pDstSize,
const P6CHAR pSrc,
P6UINT32  srcSize 
)
pure virtual

Locale independent conversion from utf8 multibyte respresentation to a single wide character.

This function returns the number of bytes eaten in pSrc by the conversion in pDstSize.

Parameters
pDst[ out ] Pointer to a single wide character converted from the UTF8 string
pDstSize[ out ] The number of bytes in pSrc that made up the output wide character. This length is necessary for the caller to increment to the next UTF8 character.
pSrc[ in ] Pointer to the UTF8 string to convert.
srcSize[ in ] The number of bytes in pSrc.
Returns
SuccessP6R::eOk 
FailureP6R::eFailUnable to convert UTF8 character into a wide character.
P6R::eNotInitializedA successful call to initialize was not made before this call.