# man > gensprep(8)

[_gensprep_(8)](https://www.chedong.com/phpMan.php/man/gensprep/8/markdown)                                ICU 74.2 Manual                               [_gensprep_(8)](https://www.chedong.com/phpMan.php/man/gensprep/8/markdown)

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

## SYNOPSIS
       **gensprep  **[ **-h**, **-?**, **--help **] [ **-v**, **--verbose **] [ **-c**, **--copyright **] [ **-s**, **--sourcedir _**source_ ]
       [ **-d**, **--destdir _**destination_ ]

## DESCRIPTION
       **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)](https://www.chedong.com/phpMan.php/man/pkgdata/8/markdown) 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 _
              Set the source directory to _source_.  The default source directory is specified by  the
              environment variable **ICU_DATA**.

### -d --destdir _
              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/74.2/**.
                 Some tools in ICU depend on the presence of the trailing slash. It is  thus  impor‐
                 tant 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  Nor‐
                           malization 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
       74.2

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

## SEE ALSO
       [**pkgdata**(8)](https://www.chedong.com/phpMan.php/man/pkgdata/8/markdown)

ICU MANPAGE                                 18 March 2003                                [_gensprep_(8)](https://www.chedong.com/phpMan.php/man/gensprep/8/markdown)
