Convert CLDR text file to binary data for


mkcldr [options]* input file output file

Runs on:

QNX Neutrino


ARM, x86


Name of the CHARMAP file (typically posix/ from CLDR).
Secondary weight/flag for case inversion (default 0x0080).
Override name of collation in output file header.
Set variable weight threshold for ignorables (punctuation).


The mkcldr utility converts standard CLDR language collation (or sort order) tables into a format usable by the DLL. Specifically, it reads the contents of a text input file in the CLDR (Common Locale Data Repository) POSIX format and writes this content to an output file as binary data suitable for

To use other language collation tables, you can download them from, then use mkcldr to convert them.

If the collation rules in the files shipped with the OS or in the downloaded files don't correspond to the rules required for your locale or implementation, you can adjust them, then use mkcldr to create the files with the binary data format required by


The following example converts the file for German used in Switzerland:

$ cd cldr-1.4.1/posix
$ mkcldr -c de_CH.UTF-8.src /etc/cldr/de_CH
Note: The file is simply a database that maps textual character descriptions to their Unicode value; it is used in parsing the collation information.