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.
-h, -?, --help
Print help about usage and exit.
Print the version of gencfu and exit.
Embeds the standard ICU copyright into the output-file.
Display extra informative messages during execution.
-d, --destdir destination
Set the destination directory of the output-file to
-i, --icudatadir directory
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
-r, --rules rule-file
The source file to read.
-w, --wsrules whole-script-rule-file
The whole script source file to read.
-o, --out output-file
The output data file to write.
This page is part of the ICU (International Components for
Unicode) project. Information about the project can be found at
⟨http://site.icu-project.org/home⟩. If you have a bug report for
this manual page, see ⟨http://site.icu-project.org/bugs⟩. This
page was obtained from the project's upstream Git repository
⟨https://github.com/unicode-org/icu⟩ on 2023-06-23. (At that
time, the date of the most recent commit that was found in the
repository was 2023-06-22.) If you discover any rendering
problems in this HTML version of the page, or you believe there
is a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
ICU MANPAGE 24 May 2009 GENCFU(1)