{
    "mode": "man",
    "parameter": "gensprep",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/gensprep/8/json",
    "generated": "2026-09-17T08:36:14Z",
    "synopsis": "gensprep  [ -h, -?, --help ] [ -v, --verbose ] [ -c, --copyright ] [ -s, --sourcedir source ]\n[ -d, --destdir destination ]",
    "sections": {
        "NAME": {
            "content": "gensprep - compile StringPrep data from files filtered by filterRFC3454.pl\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "gensprep  [ -h, -?, --help ] [ -v, --verbose ] [ -c, --copyright ] [ -s, --sourcedir source ]\n[ -d, --destdir destination ]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "gensprep reads filtered RFC 3454 files and compiles their information  into  a  binary  form.\nThe  resulting  file, <name>.icu, can then be read directly by ICU, or used by pkgdata(8) for\nincorporation into a larger archive or library.\n\nThe files read by gensprep are described in the FILES section.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-h -? --help",
                    "content": "Print help about usage and exit.\n",
                    "flag": "-?",
                    "long": "--help"
                },
                {
                    "name": "-v --verbose",
                    "content": "Display extra informative messages during execution.\n",
                    "flag": "-v",
                    "long": "--verbose"
                },
                {
                    "name": "-c --copyright",
                    "content": "Include a copyright notice into the binary data.\n",
                    "flag": "-c",
                    "long": "--copyright"
                },
                {
                    "name": "-s --sourcedir _",
                    "content": "Set the source directory to source.  The default source directory is specified by  the\nenvironment variable ICUDATA.\n",
                    "flag": "-s",
                    "long": "--sourcedir"
                },
                {
                    "name": "-d --destdir _",
                    "content": "Set  the  destination  directory to destination.  The default destination directory is\nspecified by the environment variable ICUDATA.\n",
                    "flag": "-d",
                    "long": "--destdir"
                }
            ]
        },
        "ENVIRONMENT": {
            "content": "ICUDATA  Specifies the directory containing ICU data. Defaults to ${prefix}/share/icu/74.2/.\nSome tools in ICU depend on the presence of the trailing slash. It is  thus  impor‐\ntant to make sure that it is present if ICUDATA is set.\n",
            "subsections": []
        },
        "FILES": {
            "content": "The  following  files  are  read  by  gensprep  and  are  looked  for in the source /misc for\nrfc3454*.txt files and in source /unidata for NormalizationCorrections.txt.\n\nrfc3453A1.txt     Contains the list of unassigned codepoints in Unicode version 3.2.0....\n\nrfc3454B1.txt     Contains the list of code points that are commonly mapped to nothing....\n\nrfc3454B2.txt     Contains the list of mappings for casefolding of  code points  when  Nor‐\nmalization form NFKC is specified....\n\nrfc3454CX.txt     Contains the list of code points that are prohibited for IDNA.\n",
            "subsections": [
                {
                    "name": "NormalizationCorrections.txt",
                    "content": "Contains  the  list  of code points whose normalization has changed since\nUnicode Version 3.2.0.\n"
                }
            ]
        },
        "VERSION": {
            "content": "74.2\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (C) 2000-2002 IBM, Inc. and others.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "pkgdata(8)\n\nICU MANPAGE                                 18 March 2003                                gensprep(8)",
            "subsections": []
        }
    },
    "summary": "gensprep - compile StringPrep data from files filtered by filterRFC3454.pl",
    "flags": [
        {
            "flag": "-?",
            "long": "--help",
            "arg": null,
            "description": "Print help about usage and exit."
        },
        {
            "flag": "-v",
            "long": "--verbose",
            "arg": null,
            "description": "Display extra informative messages during execution."
        },
        {
            "flag": "-c",
            "long": "--copyright",
            "arg": null,
            "description": "Include a copyright notice into the binary data."
        },
        {
            "flag": "-s",
            "long": "--sourcedir",
            "arg": null,
            "description": "Set the source directory to source. The default source directory is specified by the environment variable ICUDATA."
        },
        {
            "flag": "-d",
            "long": "--destdir",
            "arg": null,
            "description": "Set the destination directory to destination. The default destination directory is specified by the environment variable ICUDATA."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "pkgdata",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/pkgdata/8/json"
        }
    ]
}