1 .\" Hey, Emacs! This is -*-nroff-*- you know...
3 .\" derb.1: manual page for the derb utility
5 .\" Copyright (C) 2000-2014 IBM, Inc. and others.
7 .TH DERB 1 "7 Mar 2014" "ICU MANPAGE" "ICU @VERSION@ Manual"
10 \- disassemble a resource bundle
14 .BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
17 .BR "\-V\fP, \fB\-\-version"
20 .BR "\-v\fP, \fB\-\-verbose"
23 .BI "\-e\fP, \fB\-\-encoding" " encoding"
29 .BI "\-t\fP, \fB\-\-truncate" " \fR[ \fPsize\fR ]\fP"
32 .BI "\-s\fP, \fB\-\-sourcedir" " source"
35 .BI "\-d\fP, \fB\-\-destdir" " destination"
38 .BI "\-i\fP, \fB\-\-icudatadir" " directory"
41 .BI "\-c\fP, \fB\-\-to\-stdout"
46 reads the compiled resource
48 files passed on the command line and write them back in text form.
49 The resulting text files have a
51 extension while compiled resource bundle source files typically have a
55 It is customary to name the resource bundles by their locale name,
56 i.e. to use a local identifier for the
60 for Japanese (Japan) data, or
63 This is especially important for
65 since the locale name is not accessible directly from the compiled
66 resource bundle, and to know which locale to ask for when opening
69 will produce a file whose base name is the base name of the compiled resource file itself.
71 .BI "\-\-to\-stdout\fP, \fB\-c\fP"
72 option is used, however, the text will be written on the standard output.
75 .BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
76 Print help about usage and exit.
78 .BR "\-V\fP, \fB\-\-version"
83 .BR "\-v\fP, \fB\-\-verbose"
84 Display extra informative messages during execution.
86 .BR "\-A\fP, \fB\-\-suppressAliases"
87 Don't follow aliases when producing output.
89 .BI "\-e\fP, \fB\-\-encoding" " encoding"
90 Set the encoding used to write output files to
92 The default encoding is the invariant (subset of ASCII or EBCDIC)
93 codepage for the system (see section
94 .BR "INVARIANT CHARACTERS" ).
95 The choice of the encoding does not affect the data, just their
96 representation. Characters that cannot be represented in the
98 will be represented using
103 Write a byte order mark (BOM) at the beginning of the file.
105 .BI "\-l\fP, \fB\-\-locale" " locale"
108 for the resource bundle, which is used both in the generated text and
109 as the base name of the output file.
111 .BI "\-t\fP, \fB\-\-truncate" " \fR[ \fPsize\fR ]\fP"
112 Truncate individual resources (strings or binary data) to
114 bytes. The default if
120 .BI "\-s\fP, \fB\-\-sourcedir" " source"
121 Set the source directory to
123 The default source directory is the current directory.
130 will be looked for in its default location, specified by
133 environment variable (or defaulting to
134 the location set when ICU was built if
138 .BI "\-d\fP, \fB\-\-destdir" " destination"
139 Set the destination directory to
141 The default destination directory is specified by the environment variable
143 or is the location set when ICU was built if
147 .BI "\-i\fP, \fB\-\-icudatadir" " directory"
148 Look for any necessary ICU data files in
150 For example, when processing collation overrides, the file
153 The default ICU data directory is specified by the environment variable
156 .BI "\-c\fP, \fB\-\-to\-stdout"
157 Write the disassembled
159 on standard output instead of into a file.
163 is used, the character
165 is written in the destination
167 regardless of whether it is a Unicode transformation format (UTF) or not.
168 This option should only be used with an UTF encoding, as byte order marks
169 are not meaningful for other encodings.
170 .SH INVARIANT CHARACTERS
172 .B invariant character set
173 consists of the following set of characters, expressed as a standard POSIX
175 .BR "[a-z]|[A-Z]|[0-9]|_| |+|-|*|/" .
176 This is the set which is guaranteed to be available regardless of code page.
180 Specifies the directory containing ICU data. Defaults to
181 .BR @thepkgicudatadir@/@PACKAGE@/@VERSION@/ .
182 Some tools in ICU depend on the presence of the trailing slash. It is thus
183 important to make sure that it is present if
193 Copyright (C) 2002 IBM, Inc. and others.