awCopyAtoUC
int awCopyAtoUC(
charUC *uc_dest,
char *a_src,
size_t n);
uc_dest | The Unicode copy of the ANSI string. |
a_src | The ANSI string to be copied. |
n | The maximum number of 16-bit characters that may be contained in uc_dest. |
Copies an ANSI string, a_src, to a Unicode string, uc_dest. The parameter n represents the maximum number of 16-bit characters that may be set in uc_dest. The destination string will not be null-terminated if n is equal to the size of uc_dest.
Any UTF-8 representations, in the form \u####, contained in the ANSI string will be converted to the appropriate Unicode character in the duplicate string.
Returns the number of 16-bit characters used in uc_dest.