Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Unicode String Functions | Unicode String Copy/Conversion Functions | awCopyUTF8toUC
int awCopyUTF8toUC(
charUC *uc_dest,
char *utf8_src,
size_t n);
The Unicode copy of the UTF-8 string.
The UTF-8 string to be copied.
The maximum number of characters that may be contained in uc_dest.
Copies a UTF-8 string, utf8_src, to a Unicode string, uc_dest. The parameter n represents the maximum number of bytes 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.
Returns the number of bytes used in uc_dest.