{
    "mode": "man",
    "parameter": "gencfu",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/gencfu/1/json",
    "generated": "2026-06-10T16:22:58Z",
    "synopsis": "gencfu  [  -h,  -?,  --help  ]  [ -V, --version ] [ -c, --copyright ] [ -v, --verbose ] [ -d,\n--destdir destination ] [ -i, --icudatadir directory ] -r, --rules  rule-file  -w,  --wsrules\nwhole-script-rule-file -o, --out output-file",
    "sections": {
        "NAME": {
            "content": "gencfu - Generates Unicode Confusable data files\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "gencfu  [  -h,  -?,  --help  ]  [ -V, --version ] [ -c, --copyright ] [ -v, --verbose ] [ -d,\n--destdir destination ] [ -i, --icudatadir directory ] -r, --rules  rule-file  -w,  --wsrules\nwhole-script-rule-file -o, --out output-file\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "gencfu  reads  confusable character definitions in the input file, which are plain text files\ncontaining confusable character definitions in the input format defined by Unicode UAX39  for\nthe  files confusables.txt and confusablesWholeScript.txt.  This source (.txt) format is also\naccepted by ICU spoof detectors.  The files must be encoded in utf-8 format, with or  without\na BOM.  Normally the output data file has the .cfu extension.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-h -? --help",
                    "content": "Print help about usage and exit.\n",
                    "flag": "-?",
                    "long": "--help"
                },
                {
                    "name": "-V --version",
                    "content": "Print the version of gencfu and exit.\n",
                    "flag": "-V",
                    "long": "--version"
                },
                {
                    "name": "-c --copyright",
                    "content": "Embeds the standard ICU copyright into the output-file.\n",
                    "flag": "-c",
                    "long": "--copyright"
                },
                {
                    "name": "-v --verbose",
                    "content": "Display extra informative messages during execution.\n",
                    "flag": "-v",
                    "long": "--verbose"
                },
                {
                    "name": "-d --destdir",
                    "content": "Set the destination directory of the output-file to destination.\n",
                    "flag": "-d",
                    "long": "--destdir"
                },
                {
                    "name": "-i --icudatadir",
                    "content": "Look  for any necessary ICU data files in directory.  For example, the file pnames.icu\nmust be located when ICU's data is not built as a shared  library.   The  default  ICU\ndata directory is specified by the environment variable ICUDATA.  Most configurations\nof ICU do not require this argument.\n",
                    "flag": "-i",
                    "long": "--icudatadir"
                },
                {
                    "name": "-r --rules",
                    "content": "The source file to read.\n",
                    "flag": "-r",
                    "long": "--rules"
                },
                {
                    "name": "-w --wsrules",
                    "content": "The whole script source file to read.\n",
                    "flag": "-w",
                    "long": "--wsrules"
                },
                {
                    "name": "-o --out",
                    "content": "The output data file to write.\n",
                    "flag": "-o",
                    "long": "--out"
                }
            ]
        },
        "VERSION": {
            "content": "1.0\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (C) 2009 International Business Machines Corporation and others\n\n\n\nICU MANPAGE                                  24 May 2009                                   GENCFU(1)",
            "subsections": []
        }
    },
    "summary": "gencfu - Generates Unicode Confusable data files",
    "flags": [
        {
            "flag": "-?",
            "long": "--help",
            "arg": null,
            "description": "Print help about usage and exit."
        },
        {
            "flag": "-V",
            "long": "--version",
            "arg": null,
            "description": "Print the version of gencfu and exit."
        },
        {
            "flag": "-c",
            "long": "--copyright",
            "arg": null,
            "description": "Embeds the standard ICU copyright into the output-file."
        },
        {
            "flag": "-v",
            "long": "--verbose",
            "arg": null,
            "description": "Display extra informative messages during execution."
        },
        {
            "flag": "-d",
            "long": "--destdir",
            "arg": null,
            "description": "Set the destination directory of the output-file to destination."
        },
        {
            "flag": "-i",
            "long": "--icudatadir",
            "arg": null,
            "description": "Look for any necessary ICU data files in directory. For example, the file pnames.icu must be located when ICU's data is not built as a shared library. The default ICU data directory is specified by the environment variable ICUDATA. Most configurations of ICU do not require this argument."
        },
        {
            "flag": "-r",
            "long": "--rules",
            "arg": null,
            "description": "The source file to read."
        },
        {
            "flag": "-w",
            "long": "--wsrules",
            "arg": null,
            "description": "The whole script source file to read."
        },
        {
            "flag": "-o",
            "long": "--out",
            "arg": null,
            "description": "The output data file to write."
        }
    ],
    "examples": [],
    "see_also": []
}