1MAKECONV(1)                     ICU 3.6 Manual                     MAKECONV(1)
2
3
4

NAME

6       makeconv - compile a converter table
7

SYNOPSIS

9       makeconv [ -h, -?, --help ] [ -c, --copyright ] [ -v, --verbose ] [ -d,
10       --destdir destination ] convertertable ...
11

DESCRIPTION

13       makeconv converts the ICU converter table convertertable into a  binary
14       file.  The binary file has the same base name as convertertable but has
15       a .cnv extension (instead of the typical .ucm extension of the convert‐
16       ertable  file).   This binary file can then be read directly by ICU, or
17       used by pkgdata(1) for incorporation into a larger archive or library.
18
19       The convertertable must be in the ICU ucm  (Unicode  Codepage  Mapping)
20       format  in  order  to be understood by makeconv.  The ICU ucm format is
21       similar to the IBM NLTC upmap/tpmap/rpmap files.  Comments in the  con‐
22       vertable  are  handled  as  follows.  If a comment (starting with a `#'
23       sign) that is after some text does contain the fallback  indicator  `|'
24       then  only  the  text starting with the `#' sign, and ending before the
25       `|' sign, is ignored.  Otherwise, or if the comment is the first  thing
26       on  the  line, the comment runs up to the end of the line. This special
27       handling of comments is to accomodate the practice of putting  fallback
28       information in comments in the strict IBM NLTC ucmap format.
29
30       Note that new converters will be automatically found by ICU after their
31       installation in ICU's data directory. They do not need to be listed  in
32       the convrtrs.txt(5) converters aliases file in order to be available to
33       applications using ICU.  They do need to be listed there if  one  wants
34       to give them aliases, or tags, though.
35

OPTIONS

37       -h, -?, --help
38              Print help about usage and exit.
39
40       -c, --copyright
41              Include a copyright notice in the binary data.
42
43       -v, --verbose
44              Display extra informative messages during execution.
45
46       -d, --destdir destination
47              Set  the destination directory to destination.  The default des‐
48              tination directory is  specified  by  the  environment  variable
49              ICU_DATA.
50

CAVEATS

52       If  an  existing  converter table is changed and recompiled using make‐
53       conv, the resulting binary file must be packaged in the same  way  that
54       it  was  packaged  initially.  For  example, if converters were grouped
55       together in an archive or a library with pkgdata(1), then  the  archive
56       or  library  must  be  rebuilt  with the new binary file.  A standalone
57       binary converter file will not take precedence over a packaged one.
58

ENVIRONMENT

60       ICU_DATA  Specifies the directory  containing  ICU  data.  Defaults  to
61                 /usr/share/icu/3.6/.   Some  tools in ICU depend on the pres‐
62                 ence of the trailing slash. It is thus important to make sure
63                 that it is present if ICU_DATA is set.
64

VERSION

66       3.6
67
69       Copyright (C) 2000 IBM, Inc. and others.
70

SEE ALSO

72       convrtrs.txt(5)
73       pkgdata(1)
74
75
76
77
78ICU MANPAGE                      16 April 2002                     MAKECONV(1)
Impressum