140 lines
2.9 KiB
HTML
140 lines
2.9 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of MANCONV</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>MANCONV</H1>
|
|
Section: Manual pager utils (1)<BR>Updated: 2020-02-25<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
manconv - convert manual page from one encoding to another
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>manconv</B>
|
|
|
|
<B>-f</B>
|
|
|
|
[<I>from-code</I>[:<I>from-code</I>...]]
|
|
|
|
<B>-t</B>
|
|
|
|
<I>to-code</I>
|
|
|
|
[<B>-dqhV</B>]
|
|
|
|
[<I>filename</I>]
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>manconv</B>
|
|
|
|
converts a manual page from one encoding to another, like
|
|
<B>iconv</B>.
|
|
|
|
Unlike
|
|
<B>iconv</B>,
|
|
|
|
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.
|
|
<P>
|
|
|
|
If an encoding declaration is found on the first line of the manual page,
|
|
that declaration overrides any input encodings specified on
|
|
<B>manconv</B>'s
|
|
|
|
command line.
|
|
Encoding declarations have the following form:
|
|
<P>
|
|
|
|
<DL COMPACT><DT id="1"><DD>
|
|
<PRE>
|
|
'\" -*- coding: UTF-8 -*-
|
|
</PRE>
|
|
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
or (if manual page preprocessors are also to be declared):
|
|
<P>
|
|
|
|
<DL COMPACT><DT id="2"><DD>
|
|
<PRE>
|
|
'\" t -*- coding: ISO-8859-1 -*-
|
|
</PRE>
|
|
|
|
</DL>
|
|
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="3"><B>-f</B> <I>encodings</I>, <B>--from-code</B> <I>encodings</I><DD>
|
|
Try each of
|
|
<I>encodings</I>
|
|
|
|
(a colon-separated list) in sequence as the input encoding.
|
|
The default is to guess likely input encodings based on the file name.
|
|
<DT id="4"><B>-t</B> <I>encoding</I>, <B>--to-code</B> <I>encoding</I><DD>
|
|
Convert the manual page to
|
|
<I>encoding</I>.
|
|
|
|
<DT id="5"><B>-q</B>, <B>--quiet</B>
|
|
|
|
<DD>
|
|
Do not issue error messages when the page cannot be converted.
|
|
<DT id="6"><B>-d</B>, <B>--debug</B>
|
|
|
|
<DD>
|
|
Print debugging information.
|
|
<DT id="7"><B>-h</B>, <B>--help</B>
|
|
|
|
<DD>
|
|
Print a help message and exit.
|
|
<DT id="8"><B>-V</B>, <B>--version</B>
|
|
|
|
<DD>
|
|
Display version information.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<I><A HREF="/cgi-bin/man/man2html?1+iconv">iconv</A></I>(1),
|
|
|
|
<I><A HREF="/cgi-bin/man/man2html?1+man">man</A></I>(1),
|
|
|
|
<I><A HREF="/cgi-bin/man/man2html?1+man-recode">man-recode</A></I>(1)
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
<PRE>
|
|
Colin Watson (<A HREF="mailto:cjwatson@debian.org">cjwatson@debian.org</A>).
|
|
</PRE>
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="9"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="10"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="11"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="12"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="13"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
<DT id="14"><A HREF="#lbAG">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:19 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|