Scroll to navigation

gensprep(8) ICU 72.1 Manual gensprep(8)


gensprep - compile StringPrep data from files filtered by


gensprep [ -h, -?, --help ] [ -v, --verbose ] [ -c, --copyright ] [ -s, --sourcedir source ] [ -d, --destdir destination ]


gensprep reads filtered RFC 3454 files and compiles their information into a binary form. The resulting file, <name>.icu, can then be read directly by ICU, or used by pkgdata(8) for incorporation into a larger archive or library.

The files read by gensprep are described in the FILES section.


Print help about usage and exit.
Display extra informative messages during execution.
Include a copyright notice into the binary data.
Set the source directory to source. The default source directory is specified by the environment variable ICU_DATA.
Set the destination directory to destination. The default destination directory is specified by the environment variable ICU_DATA.


Specifies the directory containing ICU data. Defaults to ${prefix}/share/icu/72.1/. Some tools in ICU depend on the presence of the trailing slash. It is thus important to make sure that it is present if ICU_DATA is set.


The following files are read by gensprep and are looked for in the source /misc for rfc3454_*.txt files and in source /unidata for NormalizationCorrections.txt.

Contains the list of unassigned codepoints in Unicode version 3.2.0....
Contains the list of code points that are commonly mapped to nothing....
Contains the list of mappings for casefolding of code points when Normalization form NFKC is specified....
Contains the list of code points that are prohibited for IDNA.
Contains the list of code points whose normalization has changed since Unicode Version 3.2.0.




Copyright (C) 2000-2002 IBM, Inc. and others.



18 March 2003 ICU MANPAGE