Support for multibyte characters
The IBM® Informix® ESQL/C numeric-format functions support multibyte characters in their format strings if your client locale supports a multibyte code set that defines these characters.
These Informix ESQL/C functions and routines, however, interpret multibyte characters as literal characters. You cannot use multibyte equivalents of the ASCII formatting characters.
For
example, the following Informix
ESQL/C code
fragment shows a call to the rfmtlong( ) function
with the multibyte character A1A2 in the format
string:
stcopy("A1A2***,***", fmtbuf);
rfmtlong(78941, fmtbuf, outbuf);
printf("Formatted value: %s\n", outbuf);
This code
fragment generates the following output (if the client code set contains
the A1A2 character):
Formatting value: A1A2*78,941