GENCFU(1) ICU 79.1 Manual GENCFU(1)

# [NAME](#NAME)

**gencfu** - Generates Unicode Confusable data files

# [SYNOPSIS](#SYNOPSIS)

**gencfu** \[ **-h, -?, --help** **]** **\[** **-V, --version** **]** **\[** **-c, --copyright** **]** **\[** **-v, --verbose** **]** **\[** **-d, --destdir **destination**** **]** **\[** **-i, --icudatadir **directory**** **]** **-r, --rules **rule-file**** **-w, --wsrules **whole-script-rule-file**** **-o, --out **output-file****

# [DESCRIPTION](#DESCRIPTION)

**gencfu** reads confusable character definitions in the input file, which are plain text files containing confusable character definitions in the input format defined by Unicode UAX39 for the files *confusables.txt* and *confusablesWholeScript.txt.* This source (.txt) format is also accepted by ICU spoof detectors. The files must be encoded in utf-8 format, with or without a BOM. Normally the output data file has the **.cfu** extension.

# [OPTIONS](#OPTIONS)

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

Print help about usage and exit.

[**-V, --version**](#V)

Print the version of **gencfu** and exit.

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

Embeds the standard ICU copyright into the *output-file*.

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

Display extra informative messages during execution.

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

Set the destination directory of the *output-file* to *destination*.

[**-i, --icudatadir **directory****](#i)

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 **ICU\_DATA**. Most configurations of ICU do not require this argument.

[**-r, --rules **rule-file****](#r)

The source file to read.

[**-w, --wsrules **whole-script-rule-file****](#w)

The whole script source file to read.

[**-o, --out **output-file****](#o)

The output data file to write.

# [VERSION](#VERSION)

1.0

# [COPYRIGHT](#COPYRIGHT)

Copyright (C) 2009 International Business Machines Corporation and others

24 May 2009 ICU MANPAGE

---

Document: gencfu(1) from icu 79.1-r0 (Chainguard OS)
Source: https://github.com/unicode-org/icu
