logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

manconv - convert manual page from one encoding to another

Author

       Colin Watson (cjwatson@debian.org).

Bugs

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

2.13.0                                             2024-08-29                                         MANCONV(1)

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'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 -*-

Name

       manconv - convert manual page from one encoding to another

Options

-fencodings, --from-codeencodings
              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.

       -tencoding, --to-codeencoding
              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.

See Also

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

Synopsis

manconv-f [from-code[:from-code...]] -tto-code [-dqhV] [filename]

See Also