System Grab Bag

View all man pages from Ubuntu (or from all projects)

Name

manconv - convert manual page from one encoding to another

Synopsis

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

Description

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 'scommand line. Encoding declarations have the following form:

\&\(aq\e" -*- coding: UTF-8 -*-

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

\&\(aq\e" 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 ", " --quietDo not issue error messages when the page cannot be converted.

-d ", " --debugPrint debugging information.

-h ", " --helpPrint a help message and exit.

-V ", " --versionDisplay version information.

See Also

iconv (1), man (1), man-recode (1)

Author

Colin Watson ([email protected]).

Bugs

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