1GENCFU(1) ICU 67.1 Manual GENCFU(1)
2
3
4
6 gencfu - Generates Unicode Confusable data files
7
9 gencfu [ -h, -?, --help ] [ -V, --version ] [ -c, --copyright ] [ -v,
10 --verbose ] [ -d, --destdir destination ] [ -i, --icudatadir directory
11 ] -r, --rules rule-file -w, --wsrules whole-script-rule-file -o, --out
12 output-file
13
15 gencfu reads confusable character definitions in the input file, which
16 are plain text files containing confusable character definitions in the
17 input format defined by Unicode UAX39 for the files confusables.txt and
18 confusablesWholeScript.txt. This source (.txt) format is also accepted
19 by ICU spoof detectors. The files must be encoded in utf-8 format,
20 with or without a BOM. Normally the output data file has the .cfu
21 extension.
22
24 -h, -?, --help
25 Print help about usage and exit.
26
27 -V, --version
28 Print the version of gencfu and exit.
29
30 -c, --copyright
31 Embeds the standard ICU copyright into the output-file.
32
33 -v, --verbose
34 Display extra informative messages during execution.
35
36 -d, --destdir destination
37 Set the destination directory of the output-file to destination.
38
39 -i, --icudatadir directory
40 Look for any necessary ICU data files in directory. For exam‐
41 ple, the file pnames.icu must be located when ICU's data is not
42 built as a shared library. The default ICU data directory is
43 specified by the environment variable ICU_DATA. Most configura‐
44 tions of ICU do not require this argument.
45
46 -r, --rules rule-file
47 The source file to read.
48
49 -w, --wsrules whole-script-rule-file
50 The whole script source file to read.
51
52 -o, --out output-file
53 The output data file to write.
54
56 1.0
57
59 Copyright (C) 2009 International Business Machines Corporation and oth‐
60 ers
61
62
63
64ICU MANPAGE 24 May 2009 GENCFU(1)