{
    "mode": "man",
    "parameter": "iconvconfig",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/iconvconfig/8/json",
    "generated": "2026-08-15T22:52:34Z",
    "synopsis": "iconvconfig [options] [directory]...",
    "sections": {
        "NAME": {
            "content": "iconvconfig - create iconv module configuration cache\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "iconvconfig [options] [directory]...\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The  iconv(3)  function internally uses gconv modules to convert to and from a character set.\nA configuration file is used to determine the needed modules for a conversion.   Loading  and\nparsing  such  a  configuration file would slow down programs that use iconv(3), so a caching\nmechanism is employed.\n\nThe iconvconfig program reads iconv module configuration  files  and  writes  a  fast-loading\ngconv module configuration cache file.\n\nIn  addition  to  the system provided gconv modules, the user can specify custom gconv module\ndirectories with the environment variable GCONVPATH.  However,  iconv  module  configuration\ncaching is used only when the environment variable GCONVPATH is not set.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "--nostdlib",
                    "content": "Do not search the system default gconv directory, only the directories provided on the\ncommand line.\n\n--output=outputfile",
                    "long": "--nostdlib"
                },
                {
                    "name": "-o _",
                    "content": "Use outputfile for output instead of the system default cache location.\n\n--prefix=pathname\nSet  the  prefix  to  be prepended to the system pathnames.  See FILES, below.  By de‐\nfault, the prefix is empty.  Setting the prefix to foo, the gconv module configuration\nwould be read from foo/usr/lib/gconv/gconv-modules and the cache would be  written  to\nfoo/usr/lib/gconv/gconv-modules.cache.\n",
                    "flag": "-o"
                },
                {
                    "name": "--help",
                    "content": "-?     Print a usage summary and exit.\n",
                    "long": "--help"
                },
                {
                    "name": "--usage",
                    "content": "Print a short usage summary and exit.\n",
                    "long": "--usage"
                },
                {
                    "name": "--version",
                    "content": "",
                    "long": "--version"
                },
                {
                    "name": "-V",
                    "content": "",
                    "flag": "-V"
                }
            ]
        },
        "EXIT STATUS": {
            "content": "Zero on success, nonzero on errors.\n",
            "subsections": []
        },
        "FILES": {
            "content": "/usr/lib/gconv\nUsual default gconv module path.\n\n/usr/lib/gconv/gconv-modules\nUsual system default gconv module configuration file.\n\n/usr/lib/gconv/gconv-modules.cache\nUsual system gconv module configuration cache.\n\nDepending on the architecture, the above files may instead be located at directories with the\npath prefix /usr/lib64.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "iconv(1), iconv(3)\n\nLinux man-pages 6.7                          2023-10-31                               iconvconfig(8)",
            "subsections": []
        }
    },
    "summary": "iconvconfig - create iconv module configuration cache",
    "flags": [
        {
            "flag": "",
            "long": "--nostdlib",
            "arg": null,
            "description": "Do not search the system default gconv directory, only the directories provided on the command line. --output=outputfile"
        },
        {
            "flag": "-o",
            "long": null,
            "arg": null,
            "description": "Use outputfile for output instead of the system default cache location. --prefix=pathname Set the prefix to be prepended to the system pathnames. See FILES, below. By de‐ fault, the prefix is empty. Setting the prefix to foo, the gconv module configuration would be read from foo/usr/lib/gconv/gconv-modules and the cache would be written to foo/usr/lib/gconv/gconv-modules.cache."
        },
        {
            "flag": "",
            "long": "--help",
            "arg": null,
            "description": "-? Print a usage summary and exit."
        },
        {
            "flag": "",
            "long": "--usage",
            "arg": null,
            "description": "Print a short usage summary and exit."
        },
        {
            "flag": "",
            "long": "--version",
            "arg": null,
            "description": ""
        },
        {
            "flag": "-V",
            "long": null,
            "arg": null,
            "description": ""
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "iconv",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/iconv/1/json"
        },
        {
            "name": "iconv",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/iconv/3/json"
        }
    ]
}