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