locales.dat sections and entries

locales.dat contains platform-specific sections, each of which contains predefined locale definition entries. These entries vary by platform, but all sections include an entry defining a “default” locale.

Locale definition entries have the form:

locale = locale_name, language_name, charset_name [,sortorder_name]

where:

The following locales.dat file entry specifies a French locale. Because no sort order is specified, the default sort order “binary” is used with this locale:

locale = fr.FR.88591, french, iso_1