Reads the infiles with normalization data and creates a binary file, or a C source file (--csource), with the data, or writes a data file with the combined data (--combined). See https://unicode-org.github.io/icu/userguide/transforms/normalization#data-file-syntax
Computes the difference of (a, b) minus (p, q) and writes the diff data in input-file syntax to the outputfilename. It is then possible to build (p, q, diff) to get the same data as (a, b). (Useful for computing minimal incremental mapping data files.)
Options: -h or -? or --help this usage text -v or --verbose verbose output -c or --copyright include a copyright notice -u or --unicode Unicode version, followed by the version like 5.2.0 -s or --sourcedir source directory, followed by the path -o or --output output filename --csource writes a C source file with initializers --combined writes a .txt file (input-file syntax) with the combined data from all of the input files --fast optimize the data for fast normalization, which might increase its size (Writes fully decomposed regular mappings instead of delta mappings. You should measure the runtime speed to make sure that this is a good trade-off.) gennorm2 error: only one 'minus' can be specified gennorm2 error: unable to open %s gennorm2 error: multiple inconsistent Unicode version numbers %s vs. %s error in gennorm2 phase %d: not permitted to override mapping for U+%04lX from phase %d error in gennorm2 phase %d: illegal one-way mapping from U+%04lX to malformed string error in gennorm2 phase %d: illegal round-trip mapping from surrogate code point U+%04lX error in gennorm2 phase %d: illegal round-trip mapping from U+%04lX to malformed string error in gennorm2 phase %d: illegal round-trip mapping from U+%04lX to %d!=2 code points mapping longer than maximum of 31combines-back and decomposes, not possible in Unicode normalizationcombines-forward and has a one-way mapping, not possible in Unicode normalizationgennorm2 error: illegal mapping/composition/ccc data for Hangul or Jamo U+%04lX gennorm2 error: data structure overflow, too much mapping composition data gennorm2 error: not all surrogate code points are inert: U+d800..U+%04x=%lx gennorm2 error: unable to build/serialize the normalization trie - %s size of normalization trie: %5ld bytes size of 16-bit extra data: %5ld uint16_t size of small-FCD data: %5ld bytes size of binary data file contents: %5ld bytes minDecompNoCodePoint: U+%04lX minCompNoMaybeCodePoint: U+%04lX minLcccCodePoint: U+%04lX minYesNo: (with compositions) 0x%04x minYesNoMappingsOnly: 0x%04x minNoNo: (comp-normalized) 0x%04x minNoNoCompBoundaryBefore: 0x%04x minNoNoCompNoMaybeCC: 0x%04x minNoNoEmpty: 0x%04x limitNoNo: 0x%04x minNoNoDelta: 0x%04x minMaybeYes: 0x%04x Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html gennorm2 error: unable to create the output file %s - %s gennorm2: error %s writing the output file gennorm2 error: written size %ld != calculated size %ld icu/source/tools/gennorm2/n2builder.cppgennorm2/writeCSourceFile() error: unable to create the output file %s #ifdef INCLUDED_FROM_NORMALIZER2_CPP