Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Unicode String Functions | Unicode String Copy/Conversion Functions | awCopyAtoUC
int awCopyAtoUC(
charUC *uc_dest,
char *a_src,
size_t n);
The Unicode copy of the ANSI string.
The ANSI string to be copied.
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.