F.84 ctu8TOu16
Converts an ASCII or UTF8 Unicode string to a UTF16 encoded string.
Short Name
ctu8TOu16
TYPE
Utility
DECLARATION
NINT ctu8TOu16(pTEXT u8str, pWCHAR u16str, VRLEN u16byt)DESCRIPTION
ctu8TOu16 converts an ASCII or UTF8 Unicode string to a UTF16 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
ctu16TOu8
|
FairCom Corporation www.faircom.com |