Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Unicode String Functions | Unicode String Copy/Conversion Functions | awCopyUCtoA
 
awCopyUCtoA
int awCopyUCtoA(
char *a_dest,
charUC *uc_src,
size_t n);
a_dest
The ANSI copy of the Unicode string.
uc_src
The Unicode string to be copied.
n
The maximum number of characters that may be contained in a_dest.
Copies a Unicode string, uc_src, to an ANSI string, a_dest. The parameter n represents the maximum number of bytes that may be set in a_dest. The destination string will not be null-terminated if n is equal to the size of a_dest.
Unicode characters are represented in the resulting ANSI string as an escape sequence, such as \uf138.
Returns the number of bytes used in a_dest.