Quick start

This section summarizes the process of creating and changing sort order files. For more detailed information, read the remainder of the chapter.

StepsTo create or change a sort order file

  1. Copy one of the shipped *.srt files and rename it, keeping the .srt suffix.

    NoteDo not modify the *.srt files shipped with the product. Instead, make copy of the original *.srt file and then modify its copy.

  2. Edit the newly created file, changing or adding entries as follows:

    • Specify general entries for the [sortorder] section, including “class,” “id,” “menuname,” “charset,” “preference,” and “description.”

    • List ligatures, using the entry form “lig = value.” Group ligature entries before character entries.

    • List all the character set’s characters and glyphs in the desired primary sort order, using the entry form “char = value.”

    • For the secondary sort order, add values horizontally to the primary sort order entries, using the entry form “char = value1, value2, ...

    • For sorting that is not case sensitive, put equal signs between uppercase and lowercase counterparts.

  3. Save the new .srt file in the charsets directory under the charset_name subdirectory.

  4. Edit locales file entries, as appropriate, to refer to the new collating sequence file.