Wide Characters

The ILE C/C++ compilers support the following:
  • If LOCALETYPE(*CLD) or LOCALETYPE(*LOCALE) is specified on the compilation command, wide characters are treated as 2-byte wide EBCDIC characters.
  • If LOCALETYPE(*LOCALEUCS2) is specified on the compilation command, wide characters are treated as 2-byte UCS-2 characters.
  • If LOCALETYPE(*LOCALEUTF) is specified on the compilation command, wide characters are treated as 4-byte UTF-32 characters.
When EBCDIC wide characters are used, the CCSID of the EBCDIC characters depends on the CCSID of the LC_CTYPE category of the current locale. See Unicode Support for more information about Unicode characters.