gensprep(8) ICU 78.3 Manual gensprep(8)

# [NAME](#NAME)

**gensprep** - compile StringPrep data from files filtered by filterRFC3454.pl

# [SYNOPSIS](#SYNOPSIS)

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

# [DESCRIPTION](#DESCRIPTION)

**gensprep** reads filtered RFC 3454 files and compiles their information into a binary form. The resulting file, **&lt;name&gt;.icu**, can then be read directly by ICU, or used by [**pkgdata**(8)](/man/os/icu/pkgdata.8) for incorporation into a larger archive or library.

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

# [OPTIONS](#OPTIONS)

[**-h, -?, --help**](#h)

Print help about usage and exit.

[**-v, --verbose**](#v)

Display extra informative messages during execution.

[**-c, --copyright**](#c)

Include a copyright notice into the binary data.

[**-s, --sourcedir **source****](#s)

Set the source directory to *source*. The default source directory is specified by the environment variable **ICU\_DATA**.

[**-d, --destdir **destination****](#d)

Set the destination directory to *destination*. The default destination directory is specified by the environment variable **ICU\_DATA**.

# [ENVIRONMENT](#ENVIRONMENT)

[**ICU\_DATA**](#ICU_DATA)

Specifies the directory containing ICU data. Defaults to **${prefix}/share/icu/78.3/**. 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.

# [FILES](#FILES)

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.

[**rfc3453\_A\_1.txt**](#rfc3453_A_1.txt)

Contains the list of unassigned codepoints in Unicode version 3.2.0....

[**rfc3454\_B\_1.txt**](#rfc3454_B_1.txt)

Contains the list of code points that are commonly mapped to nothing....

[**rfc3454\_B\_2.txt**](#rfc3454_B_2.txt)

Contains the list of mappings for casefolding of code points when Normalization form NFKC is specified....

[**rfc3454\_C\_X.txt**](#rfc3454_C_X.txt)

Contains the list of code points that are prohibited for IDNA.

[**NormalizationCorrections.txt**](#NormalizationCorrections.txt)

Contains the list of code points whose normalization has changed since Unicode Version 3.2.0.

# [VERSION](#VERSION)

78.3

# [COPYRIGHT](#COPYRIGHT)

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

# [SEE ALSO](#SEE_ALSO)

[**pkgdata**(8)](/man/os/icu/pkgdata.8)

18 March 2003 ICU MANPAGE

---

Document: gensprep(8) from icu 78.3-r4 (Chainguard OS)
Source: https://github.com/unicode-org/icu
