1MANCONV(1) Manual pager utils MANCONV(1)
2
3
4
6 manconv - convert manual page from one encoding to another
7
9 manconv -f [from-code[:from-code...]] -t to-code [-dqhV] [filename]
10
12 manconv converts a manual page from one encoding to another, like
13 iconv. Unlike iconv, it can try multiple possible input encodings in
14 sequence. This is useful for manual pages installed in directories
15 without an explicit encoding declaration, since they may be in UTF-8 or
16 in a legacy character set.
17
18 If an encoding declaration is found on the first line of the manual
19 page, that declaration overrides any input encodings specified on man‐
20 conv's command line. Encoding declarations have the following form:
21
22 '\" -*- coding: UTF-8 -*-
23
24 or (if manual page preprocessors are also to be declared):
25
26 '\" t -*- coding: ISO-8859-1 -*-
27
29 -f encodings, --from-code encodings
30 Try each of encodings (a colon-separated list) in sequence as
31 the input encoding. The default is to guess likely input encod‐
32 ings based on the file name.
33
34 -t encoding, --to-code encoding
35 Convert the manual page to encoding.
36
37 -q, --quiet
38 Do not issue error messages when the page cannot be converted.
39
40 -d, --debug
41 Print debugging information.
42
43 -h, --help
44 Print a help message and exit.
45
46 -V, --version
47 Display version information.
48
50 iconv(1), man(1), man-recode(1)
51
53 Colin Watson (cjwatson@debian.org).
54
56 https://gitlab.com/man-db/man-db/-/issues
57 https://savannah.nongnu.org/bugs/?group=man-db
58
59
60
612.11.2 2023-01-08 MANCONV(1)