carta
gensprep(8)

gensprep8

Compile stringprep data from files filtered by filterrfc3454.pl

Usage

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

Overview

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.

Options

-h, -?, --help

Print help about usage and exit.

-v, --verbose

Display extra informative messages during execution.

-c, --copyright

Include a copyright notice into the binary data.

-s, --sourcedir source

Set the source directory to source. The default source directory is specified by the environment variable ICU_DATA.

-d, --destdir destination

Set the destination directory to destination. The default destination directory is specified by the environment variable ICU_DATA.

Environment

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

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

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

rfc3454_B_1.txt

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

rfc3454_B_2.txt

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

rfc3454_C_X.txt

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

NormalizationCorrections.txt

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

Version

78.3

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 13 (Trixie)
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)
  • Debian 4.0 (Etch)
  • Debian 3.1 (Sarge)

From icu 78.3-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.