1 .\" Hey, Emacs! This is -*-nroff-*- you know...
3 .\" genrb.1: manual page for the genrb utility
5 .\" Copyright (C) 2000-2002 IBM, Inc. and others.
7 .\" Manual page by Yves Arrouye <yves@realnames.com>.
9 .TH GENRB 1 "16 April 2002" "ICU MANPAGE" "ICU @VERSION@ Manual"
12 \- compile a resource bundle
16 .BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
19 .BR "\-V\fP, \fB\-\-version"
22 .BR "\-v\fP, \fB\-\-verbose"
25 .BI "\-e\fP, \fB\-\-encoding" " encoding"
28 .BI "\-j\fP, \fB\-\-write\-java" " \fR[ \fPencoding\fR ]\fP"
31 .BI "\-s\fP, \fB\-\-sourcedir" " source"
34 .BI "\-d\fP, \fB\-\-destdir" " destination"
37 .BI "\-i\fP, \fB\-\-icudatadir" " directory"
44 source files passed on the command line to their binary form or to
45 a Java source file for use with ICU4J.
46 The resulting binary files have a
48 extension while resource bundle source files typically have a
50 extension. Java source files have a
52 extension and follow the ICU4J naming conventions.
54 It is customary to name the resource bundles by their locale name,
55 i.e. to use a local identifier for the
59 for Japanese (Japan) data, or
64 will produce a file whose base name is the name of the locale found
65 in the resource file, not the base name of the resource file itself.
67 The binary files can be read directly by ICU, or used by
69 for incorporation into a larger archive or library.
72 .BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
73 Print help about usage and exit.
75 .BR "\-V\fP, \fB\-\-version"
80 .BR "\-v\fP, \fB\-\-verbose"
81 Display extra informative messages during execution.
83 .BI "\-e\fP, \fB\-\-encoding" " encoding"
84 Set the encoding used to read input files to
86 The default encoding is the invariant (subset of ASCII or EBCDIC)
87 codepage for the system (see section
88 .BR "INVARIANT CHARACTERS" ).
89 The encodings UTF-8, UTF-16BE, and UTF-16LE are automatically detected
90 if a byte order mark (BOM) is present.
92 .BI "\-j\fP, \fB\-\-write\-java" " \fR[ \fPencoding\fR ]\fP"
93 Generate a Java source code for use with ICU4J. An optional
95 for the Java file can be given.
97 .BI "\-s\fP, \fB\-\-sourcedir" " source"
98 Set the source directory to
100 The default source directory is specified by the environment variable
102 or the location set when ICU was built if
106 .BI "\-d\fP, \fB\-\-destdir" " destination"
107 Set the destination directory to
109 The default destination directory is specified by the environment variable
111 or is the location set when ICU was built if
115 .BI "\-i\fP, \fB\-\-icudatadir" " directory"
116 Look for any necessary ICU data files in
118 For example, when processing collation overrides, the file
121 The default ICU data directory is specified by the environment variable
123 .SH INVARIANT CHARACTERS
125 .B invariant character set
126 consists of the following set of characters, expressed as a standard POSIX
128 .BR "[a-z]|[A-Z]|[0-9]|_| |+|-|*|/" .
129 This is the set which is guaranteed to be available regardless of code page.
133 Specifies the directory containing ICU data. Defaults to
134 .BR @thepkgicudatadir@/@PACKAGE@/@VERSION@/ .
135 Some tools in ICU depend on the presence of the trailing slash. It is thus
136 important to make sure that it is present if
142 Copyright (C) 2000-2002 IBM, Inc. and others.