{
    "content": [
        {
            "type": "text",
            "text": "# iconvconfig(8) (man)\n\n**Summary:** iconvconfig - create iconv module configuration cache\n\n**Synopsis:** iconvconfig [options] [directory]...\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | --nostdlib | — | Do not search the system default gconv directory, only the directories provided on the command line. |\n| -o | — | — | Use outputfile for output instead of the system default cache location. --prefix=pathname Set the prefix to be prepended |\n| — | --usage | — | Print a short usage summary and exit. |\n| -V | --version | — | Print the version number, license, and disclaimer of warranty for iconv. |\n\n## See Also\n\n- iconv(1)\n- iconv(3)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (12 lines)\n- **OPTIONS** (1 lines) — 4 subsections\n  - --nostdlib (3 lines)\n  - -o --output= (11 lines)\n  - --usage (2 lines)\n  - -V --version (2 lines)\n- **EXIT STATUS** (2 lines)\n- **FILES** (9 lines)\n- **SEE ALSO** (2 lines)\n- **COLOPHON** (7 lines)\n\n## Full Content\n\n### NAME\n\niconvconfig - create iconv module configuration cache\n\n### SYNOPSIS\n\niconvconfig [options] [directory]...\n\n### DESCRIPTION\n\nThe  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\n### OPTIONS\n\n#### --nostdlib\n\nDo not search the system default gconv directory, only the directories provided on the\ncommand line.\n\n#### -o --output=\n\nUse 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\n-?, --help\nPrint a usage summary and exit.\n\n#### --usage\n\nPrint a short usage summary and exit.\n\n#### -V --version\n\nPrint the version number, license, and disclaimer of warranty for iconv.\n\n### EXIT STATUS\n\nZero on success, nonzero on errors.\n\n### FILES\n\n/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\n### SEE ALSO\n\niconv(1), iconv(3)\n\n### COLOPHON\n\nThis  page  is  part  of  release  5.10 of the Linux man-pages project.  A description of the\nproject, information about reporting bugs, and the latest version of this page, can be  found\nat https://www.kernel.org/doc/man-pages/.\n\n\n\nGNU                                          2020-08-13                               ICONVCONFIG(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "iconvconfig",
        "section": "8",
        "mode": "man",
        "summary": "iconvconfig - create iconv module configuration cache",
        "synopsis": "iconvconfig [options] [directory]...",
        "flags": [
            {
                "flag": "",
                "long": "--nostdlib",
                "arg": null,
                "description": "Do not search the system default gconv directory, only the directories provided on the command line."
            },
            {
                "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. -?, --help Print a usage summary and exit."
            },
            {
                "flag": "",
                "long": "--usage",
                "arg": null,
                "description": "Print a short usage summary and exit."
            },
            {
                "flag": "-V",
                "long": "--version",
                "arg": null,
                "description": "Print the version number, license, and disclaimer of warranty for iconv."
            }
        ],
        "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"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "--nostdlib",
                        "lines": 3,
                        "long": "--nostdlib"
                    },
                    {
                        "name": "-o --output=",
                        "lines": 11,
                        "flag": "-o"
                    },
                    {
                        "name": "--usage",
                        "lines": 2,
                        "long": "--usage"
                    },
                    {
                        "name": "-V --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "EXIT STATUS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COLOPHON",
                "lines": 7,
                "subsections": []
            }
        ]
    }
}