Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Unicode String Functions | Unicode String Copy/Conversion Functions | awCopyAtoUTF8
 
awCopyAtoUTF8
int awCopyAtoUTF8(
char *utf8_dest,
char *a_src,
size_t n);
utf8_dest
The UTF-8 copy of the ANSI string.
a_src
The ANSI string to be copied.
n
The maximum number of characters that may be contained in utf8_dest.
Copies an ANSI string, a_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.
Any occurrences in the ANSI string of the form \u#### will be considered to be UTF-8 representations.
Returns the number of bytes used in utf8_dest.