manconv(1)

manconv1

Convert manual page from one encoding to another

Usage

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

Overview

manconv converts a manual page from one encoding to another, like iconv. Unlike iconv, it can try multiple possible input encodings in sequence. This is useful for manual pages installed in directories without an explicit encoding declaration, since they may be in UTF-8 or in a legacy character set.

If an encoding declaration is found on the first line of the manual page, that declaration overrides any input encodings specified on manconv's command line. Encoding declarations have the following form:

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

or (if manual page preprocessors are also to be declared):

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

Options

-f encodings, --from-code encodings

Try each of encodings (a colon-separated list) in sequence as the input encoding. The default is to guess likely input encodings based on the file name.

-t encoding, --to-code encoding

Convert the manual page to encoding.

-q, --quiet

Do not issue error messages when the page cannot be converted.

-d, --debug

Print debugging information.

-h, --help

Print a help message and exit.

-V, --version

Display version information.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 8 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13–Arch

Author

Colin Watson ([email protected]).

Bugs

https://gitlab.com/man-db/man-db/-/issues
https://savannah.nongnu.org/bugs/?group=man-db

From man-db 2.13.1-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.