2014-06-11 08:09:47 +00:00
|
|
|
'\" t -*- coding: UTF-8 -*-
|
|
|
|
.\"
|
|
|
|
.\" Copyright (C) 2014 Marko Myllynen <myllynen@redhat.com>
|
|
|
|
.\"
|
|
|
|
.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
|
|
|
|
.\" This is free documentation; you can redistribute it and/or
|
|
|
|
.\" modify it under the terms of the GNU General Public License as
|
|
|
|
.\" published by the Free Software Foundation; either version 2 of
|
|
|
|
.\" the License, or (at your option) any later version.
|
|
|
|
.\"
|
|
|
|
.\" The GNU General Public License's references to "object code"
|
|
|
|
.\" and "executables" are to be interpreted as the output of any
|
|
|
|
.\" document formatting or typesetting system, including
|
|
|
|
.\" intermediate and printed output.
|
|
|
|
.\"
|
|
|
|
.\" This manual is distributed in the hope that it will be useful,
|
|
|
|
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
.\" GNU General Public License for more details.
|
|
|
|
.\"
|
|
|
|
.\" You should have received a copy of the GNU General Public
|
|
|
|
.\" License along with this manual; if not, see
|
|
|
|
.\" <http://www.gnu.org/licenses/>.
|
|
|
|
.\" %%%LICENSE_END
|
|
|
|
.\"
|
iconv.1, ldd.1, connect.2, dup.2, epoll_ctl.2, eventfd.2, fallocate.2, fcntl.2, getitimer.2, inotify_add_watch.2, open.2, pipe.2, poll.2, sendmmsg.2, set_tid_address.2, shmop.2, signalfd.2, splice.2, syscalls.2, syslog.2, tee.2, vmsplice.2, ether_aton.3, mallopt.3, printf.3, profil.3, charmap.5, proc.5, epoll.7, inotify.7, libc.7, pipe.7, sched.7, socket.7, udplite.7, iconvconfig.8, ld.so.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-08 14:14:48 +00:00
|
|
|
.TH ICONVCONFIG 8 2014-07-08 "GNU" "Linux System Administration"
|
2014-06-11 08:09:47 +00:00
|
|
|
.SH NAME
|
|
|
|
iconvconfig \- create iconv module configuration cache
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B iconvconfig
|
|
|
|
.RI [ options ]
|
|
|
|
.RI [ directory ]...
|
|
|
|
.SH DESCRIPTION
|
|
|
|
The
|
2014-06-11 10:29:16 +00:00
|
|
|
.BR iconv (3)
|
2014-06-11 08:09:47 +00:00
|
|
|
function internally uses
|
|
|
|
.I gconv
|
|
|
|
modules to convert to and from a character set.
|
|
|
|
A configuration file is used to determine the needed modules
|
|
|
|
for a conversion.
|
|
|
|
Loading and parsing such a configuration file would slow down
|
2014-06-11 10:29:16 +00:00
|
|
|
programs that use
|
|
|
|
.BR iconv (3),
|
|
|
|
so a caching mechanism is employed.
|
2014-06-11 08:09:47 +00:00
|
|
|
|
|
|
|
The
|
|
|
|
.B iconvconfig
|
|
|
|
program reads iconv module configuration files and writes
|
2014-06-11 10:29:16 +00:00
|
|
|
a fast-loading gconv module configuration cache file.
|
2014-06-14 06:03:45 +00:00
|
|
|
In addition to the system provided gconv modules, the user can specify
|
2014-06-11 08:09:47 +00:00
|
|
|
custom gconv module directories with the environment variable
|
|
|
|
.BR GCONV_PATH .
|
2015-01-28 10:03:31 +00:00
|
|
|
However, iconv module configuration caching is used only when
|
2014-06-11 08:09:47 +00:00
|
|
|
the environment variable
|
|
|
|
.BR GCONV_PATH
|
|
|
|
is not set.
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
.B "\-\-nostdlib"
|
|
|
|
Do not search the system default gconv directory,
|
|
|
|
only the directories provided on the command line.
|
|
|
|
.TP
|
|
|
|
.BI \-o " outputfile" ", \-\-output=" outputfile
|
|
|
|
Use
|
|
|
|
.I outputfile
|
|
|
|
for output instead of the system default cache location.
|
|
|
|
.TP
|
|
|
|
.BI \-\-prefix= pathname
|
|
|
|
Set the prefix to be prepended to the system pathnames.
|
|
|
|
See FILES, below.
|
|
|
|
By default, the prefix is empty.
|
|
|
|
Setting the prefix to
|
|
|
|
.IR foo ,
|
|
|
|
the gconv module configuration would be read from
|
|
|
|
.IR foo/usr/lib/gconv/gconv-modules
|
|
|
|
and the cache would be written to
|
|
|
|
.IR foo/usr/lib/gconv/gconv-modules.cache .
|
|
|
|
.TP
|
2014-06-23 20:18:37 +00:00
|
|
|
.BR \-? ", " \-\-help
|
2014-06-11 08:09:47 +00:00
|
|
|
Print a usage summary and exit.
|
|
|
|
.TP
|
|
|
|
.B "\-\-usage"
|
|
|
|
Print a short usage summary and exit.
|
|
|
|
.TP
|
2014-06-23 20:18:37 +00:00
|
|
|
.BR \-V ", " \-\-version
|
2014-06-11 08:09:47 +00:00
|
|
|
Print the version number, license, and disclaimer of warranty for
|
|
|
|
.BR iconv .
|
|
|
|
.SH EXIT STATUS
|
|
|
|
Zero on success, non-zero on errors.
|
|
|
|
.SH FILES
|
|
|
|
.TP
|
|
|
|
.I /usr/lib/gconv
|
|
|
|
Usual default gconv module path.
|
|
|
|
.TP
|
|
|
|
.I /usr/lib/gconv/gconv-modules
|
2014-06-18 11:06:26 +00:00
|
|
|
Usual system default gconv module configuration file.
|
2014-06-11 08:09:47 +00:00
|
|
|
.TP
|
|
|
|
.I /usr/lib/gconv/gconv-modules.cache
|
2014-06-18 11:06:26 +00:00
|
|
|
Usual system gconv module configuration cache.
|
2014-06-11 08:09:47 +00:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR iconv (1),
|
|
|
|
.BR iconv (3)
|