F.83 ctu16TOu8
Converts a UTF16 Unicode string to a UTF8 encoded string.
Short Name
ctu16TOu8
TYPE
Utility
DECLARATION
NINT ctu16TOu8(pWCHAR u16str, pTEXT u8str, VRLEN u8byt)DESCRIPTION
ctu16TOu8 converts a UTF16 Unicode string to a UTF8 encoded string. The input strings are assumed to be terminated by a NULL character. All output buffer sizes are specified in bytes.
RETURN
Value Symbolic Constant Explanation 0 NO_ERROR Successful convert. 153 VBSZ_ERR The output buffer is too small. 446 BMOD_ERR There is a problem with the input string.See Appendix A "c-tree Plus Error Codes" of the c-tree Plus Programmer's Reference Guide for a complete listing of valid c-tree Plus error values.
SEE ALSO
ctu8TOu16
|
FairCom Corporation www.faircom.com |