MANCONV(1)

๐Ÿ“ฆ
version 2.13.1 ยท 6 versions
, in alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

๐ŸŽ€ MANCONV(1) ๐ŸŽ€

Okay bestie, welcome to the Manual pager utils section of the manual, where we're looking at manconv ๐Ÿ’…โœจ

โœจ NAME โœจ

manconv - convert manual page from one encoding to another ๐Ÿฆ‹

๐Ÿ“œ SYNOPSIS ๐Ÿ“œ

manconv -f [from-code[:from-code...]] -t to-code [-dqhV] [filename]

๐Ÿ’– DESCRIPTION ๐Ÿ’–

Okay so manconv takes a manual page and converts it from one encoding to another, kind of like iconv does ๐Ÿซถ The difference is that iconv only tries one input encoding, but manconv can try a whole list of them, one after another. This is literally so useful for manual pages sitting in directories with no encoding declaration, because they could be UTF-8 or some old legacy character set and nobody told us which ๐Ÿ˜ญ

If the first line of the manual page has an encoding declaration, that declaration wins over whatever input encodings you passed on the command line. Declarations look like this:

'\" -*- coding: UTF-8 -*-

or, if manual page preprocessors are also being declared, like this:

'\" t -*- coding: ISO-8859-1 -*-

๐ŸŒธ OPTIONS ๐ŸŒธ

  • -f encodings, --from-code encodings โ€” Give it a colon-separated list of encodings and it'll try each one in order as the input encoding ๐Ÿ”ฅ If you don't say anything, it'll guess the likely input encodings from the file name instead.
  • -t encoding, --to-code encoding โ€” This is the encoding you want the manual page converted to ๐Ÿ“
  • -q, --quiet โ€” Shh, no error messages if the page can't be converted ๐Ÿ™ˆ
  • -d, --debug โ€” Shows debugging information, for when you need to see what's going on under the hood ๐Ÿงš
  • -h, --help โ€” Prints a help message and exits ๐ŸŒˆ
  • -V, --version โ€” Shows the version information ๐Ÿ’œ

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

iconv(1), man(1), man-recode(1) ๐Ÿซถ

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Colin Watson (cjwatson@debian.org). Literal queen behavior ๐Ÿ‘‘

๐Ÿ› BUGS ๐Ÿ›

Bugs are where the drama lives, so report them here, bestie ๐Ÿ’€

Report them at https://gitlab.com/man-db/man-db/-/issues or at https://savannah.nongnu.org/bugs/?group=man-db โœจ


That's the whole tea on MANCONV(1) ๐ŸŒˆ Version 2.13.1, dated 2025-05-02, and you're officially encoding-literate now ๐Ÿ’…๐ŸŽ€ Love you, mean it ๐Ÿซถ๐Ÿ’–

๐Ÿ“ฆ where this page comes from