CCSIDs of Characters and Character Strings

Every character or character string has a CCSID associated with it. The CCSID of the character or character string depends on the origin of the data. You need to pay attention to the CCSID of a character or character string. It is also important that values are converted to the appropriate CCSID when required.

If LOCALETYPE(*LOCALEUTF) is not specified on the compilation command, the following assumptions are made:

When LOCALETYPE(*LOCALEUTF) is specified, most functions (unless otherwise specified) expect character data input in the CCSID of the LC_CTYPE category of the current locale, regardless of the source of the character data. See Unicode Support for more information.

For more information about variant and invariant characters, see Runtime Character Set. For more information about CCSIDs, code pages, and other globalization concepts, see the i5/OS globalization topic.



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