ILE C/C++ Compiler Reference

LOCALETYPE

Specifies the type of locale support to be used by the object that is created.

|--+---------------------------------+--------------------------|
   |              .-*LOCALE-----.    |
   '-LOCALETYPE(--+-*LOCALEUCS2-+--)-'
                  |      (1)    |
                  +-*CLD--------+
                  '-*LOCALEUTF--'
 
 

Notes:

  1. C compiler only

*LOCALE
Default setting. Objects compiled with this option use the locale support provided with the ILE C/C++ compiler and run time, using locale objects of type *LOCALE. This option is only valid for programs that run on V3R7 and later releases of the OS/400(R) operating system.
*LOCALEUCS2
Objects compiled with this option store wide-character literals in two-byte form in the UNICODE CCSID (13488).
*CLD
Objects compiled with this option use the locale support provided with earlier releases of the ILE C compiler and run time, using locale objects of type *CLD.
*LOCALEUTF
Module and program objects created with this option use the locale support provided by *LOCALE objects. Wide-character types will contain four-byte utf-32 values. Narrow character types will contain utf-8 values.


[ Top of Page | Previous Page | Next Page | Table of Contents ]