# GENCFU - Generates Unicode Confusable data files - man - [phpMan]

[_GENCFU_(1)](https://www.chedong.com/phpMan.php/man/GENCFU/1/markdown)                                  ICU 74.2 Manual                                 [_GENCFU_(1)](https://www.chedong.com/phpMan.php/man/GENCFU/1/markdown)

## NAME
       **gencfu **- Generates Unicode Confusable data files

## 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
       **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
### -h -? --help
              Print help about usage and exit.

### -V --version
              Print the version of **gencfu **and exit.

### -c --copyright
              Embeds the standard ICU copyright into the _output-file_.

### -v --verbose
              Display extra informative messages during execution.

### -d --destdir _
              Set the destination directory of the _output-file_ to _destination_.

### -i --icudatadir _
              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 _
              The source file to read.

### -w --wsrules _
              The whole script source file to read.

### -o --out _
              The output data file to write.

## VERSION
       1.0

## COPYRIGHT
       Copyright (C) 2009 International Business Machines Corporation and others

ICU MANPAGE                                  24 May 2009                                   [_GENCFU_(1)](https://www.chedong.com/phpMan.php/man/GENCFU/1/markdown)
