1 .\" Copyright (C) 2014 Marko Myllynen <myllynen@redhat.com>
3 .\" %%%LICENSE_START(GPLv2+_DOC_FULL)
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
9 .\" The GNU General Public License's references to "object code"
10 .\" and "executables" are to be interpreted as the output of any
11 .\" document formatting or typesetting system, including
12 .\" intermediate and printed output.
14 .\" This manual is distributed in the hope that it will be useful,
15 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
16 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 .\" GNU General Public License for more details.
19 .\" You should have received a copy of the GNU General Public
20 .\" License along with this manual; if not, see
21 .\" <http://www.gnu.org/licenses/>.
24 .TH ICONVCONFIG 8 2021-03-22 "GNU" "Linux System Administration"
26 iconvconfig \- create iconv module configuration cache
34 function internally uses
36 modules to convert to and from a character set.
37 A configuration file is used to determine the needed modules
39 Loading and parsing such a configuration file would slow down
42 so a caching mechanism is employed.
46 program reads iconv module configuration files and writes
47 a fast-loading gconv module configuration cache file.
49 In addition to the system provided gconv modules, the user can specify
50 custom gconv module directories with the environment variable
52 However, iconv module configuration caching is used only when
53 the environment variable
59 Do not search the system default gconv directory,
60 only the directories provided on the command line.
62 .BI \-o " outputfile" ", \-\-output=" outputfile
65 for output instead of the system default cache location.
67 .BI \-\-prefix= pathname
68 Set the prefix to be prepended to the system pathnames.
70 By default, the prefix is empty.
73 the gconv module configuration would be read from
74 .IR foo/usr/lib/gconv/gconv\-modules
75 and the cache would be written to
76 .IR foo/usr/lib/gconv/gconv\-modules.cache .
79 Print a usage summary and exit.
82 Print a short usage summary and exit.
84 .BR \-V ", " \-\-version
85 Print the version number, license, and disclaimer of warranty for
88 Zero on success, nonzero on errors.
92 Usual default gconv module path.
94 .I /usr/lib/gconv/gconv\-modules
95 Usual system default gconv module configuration file.
97 .I /usr/lib/gconv/gconv\-modules.cache
98 Usual system gconv module configuration cache.