iconvconfig(8)
โจ iconvconfig โ the iconv module configuration cache maker ๐
okay bestie so iconvconfig is an 8 (system manager's manual) situation, and it literally just builds a lil cache so your character-set conversions stop being slow. that's the whole vibe. let's get into it ๐ซถ
๐ธ NAME ๐ธ
iconvconfig โ create iconv module configuration cache โจ
๐ SYNOPSIS ๐
iconvconfig [options] [directory]...
๐ DESCRIPTION ๐
so here's the tea ๐: the iconv(3) function is out here internally using gconv modules to convert to and from a character set. and to figure out which modules a given conversion needs, it reads a configuration file.
but bestieโฆ loading and parsing that configuration file every single time? not to be dramatic but it would slow down every program that uses iconv(3). so the whole game is: a caching mechanism is employed. iconic behavior honestly ๐
the iconvconfig program reads iconv module configuration files and writes a fast-loading gconv module configuration cache file. that's its whole job. it ate and left no crumbs.
and okay, extra lore ๐: besides the system-provided gconv modules, you (yes you) can specify your own custom gconv module directories using the environment variable GCONV_PATH. BUT โ and this is the catch, bestie, listen โ iconv module configuration caching is used only when the environment variable GCONV_PATH is not set. so if you've got GCONV_PATH set, no cache for you. that's just how it is ๐
โจ OPTIONS โจ
--nostdlibโ don't go looking in the system default gconv directory at all, only the directories you handed over on the command line. strict queen energy ๐--output=outputfile,-o outputfileโ use outputfile for output instead of the system default cache location. want your cache somewhere else? say less ๐ซ--prefix=pathnameโ set the prefix that gets prepended to the system pathnames. peep the FILES section below for the deets ๐ by default the prefix is empty. so if you set the prefix tofoo, the gconv module configuration would be read fromfoo/usr/lib/gconv/gconv-modulesand the cache would be written tofoo/usr/lib/gconv/gconv-modules.cache. cute, right? ๐--help,-?โ prints a usage summary and exits. classic ๐ฆ--usageโ prints a short usage summary and exits. the lite version โจ--version,-Vโ prints the version number, license, and disclaimer of warranty foriconv. the full legal rundown ๐ญ
๐ EXIT STATUS ๐
zero on success, nonzero on errors. that's it, that's the whole thing ๐
๐ FILES ๐
/usr/lib/gconvโ the usual default gconv module path./usr/lib/gconv/gconv-modulesโ the usual system default gconv module configuration file./usr/lib/gconv/gconv-modules.cacheโ the usual system gconv module configuration cache.
โญ heads up bestie: depending on the architecture, those files above may instead be located at directories with the path prefix /usr/lib64. so like, don't come for me if yours lives somewhere else ๐ซถ
๐ SEE ALSO ๐
iconv(1), iconv(3) โ go read those too, iykyk ๐
okay that's the whole page, bestie, you're officially an iconvconfig girlie now ๐ mwah! ๐
this lil masterpiece is from Linux man-pages 6.20, dated 2025-05-17 โ yes she's serving system manager's manual realness and we're obsessed ๐โจ
๐ฆ where this page comes from
- arch rolling: man-pages 6.20-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- nixpkgs unstable: man-pages 6.20
- ๐ the page's license: GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms