The default code set

The default code set is the code set that the default locale supports. When you use the default locale, the default code set supports both the ASCII code set and some set of 8-bit characters.

The default locale, U.S. English, has the following locale name, where en indicates the English language, us indicates the United States territory, and the numbers indicate the platform-specific name of the default code set.

For a chart of ASCII values, see the Relational Operator segment in the HCL OneDB™ Guide to SQL: Syntax. The following table describes the default code set for UNIX™ and for Windows™ platforms.
Platform Default code set
UNIX ISO8859-1
Windows Microsoft™ 1252
In a locale name, you can specify the code set as either the code-set name or the condensed form of the code-set name. For example, the following locale names both identify the U.S. English locale with the ISO8859-1 code set:
  • UNIX

    The locale name en_us.8859-1 uses the code-set name to identify the ISO8859-1 code set.

  • Windows

    The locale name en_us.819 uses the condensed form of the code-set name to identify the ISO8859-1 code set.

For more information about the condensed form of a code-set name, see Code-set-conversion file names.