{
    "content": [
        {
            "type": "text",
            "text": "# manconv (man)\n\n## NAME\n\nmanconv - convert manual page from one encoding to another\n\n## SYNOPSIS\n\nmanconv -f [from-code[:from-code...]] -t to-code [-dqhV] [filename]\n\n## DESCRIPTION\n\nmanconv  converts  a  manual page from one encoding to another, like iconv.  Unlike iconv, it\ncan try multiple possible input encodings in sequence.  This is useful for manual  pages  in‐\nstalled  in  directories without an explicit encoding declaration, since they may be in UTF-8\nor in a legacy character set.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (6 subsections)\n- **SEE ALSO**\n- **AUTHOR**\n- **BUGS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "manconv",
        "section": "",
        "mode": "man",
        "summary": "manconv - convert manual page from one encoding to another",
        "synopsis": "manconv -f [from-code[:from-code...]] -t to-code [-dqhV] [filename]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-f",
                "long": "--from-code",
                "arg": null,
                "description": "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."
            },
            {
                "flag": "-t",
                "long": "--to-code",
                "arg": null,
                "description": "Convert the manual page to encoding."
            },
            {
                "flag": "-q",
                "long": "--quiet",
                "arg": null,
                "description": "Do not issue error messages when the page cannot be converted."
            },
            {
                "flag": "-d",
                "long": "--debug",
                "arg": null,
                "description": "Print debugging information."
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Print a help message and exit."
            },
            {
                "flag": "-V",
                "long": "--version",
                "arg": null,
                "description": "Display version information."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "iconv",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/iconv/1/json"
            },
            {
                "name": "man",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/man/1/json"
            },
            {
                "name": "man-recode",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/man-recode/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-f _ --from-code _",
                        "lines": 3,
                        "flag": "-f",
                        "long": "--from-code"
                    },
                    {
                        "name": "-t _ --to-code _",
                        "lines": 2,
                        "flag": "-t",
                        "long": "--to-code"
                    },
                    {
                        "name": "-q --quiet",
                        "lines": 2,
                        "flag": "-q",
                        "long": "--quiet"
                    },
                    {
                        "name": "-d --debug",
                        "lines": 2,
                        "flag": "-d",
                        "long": "--debug"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-V --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 4,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "manconv - convert manual page from one encoding to another\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "manconv -f [from-code[:from-code...]] -t to-code [-dqhV] [filename]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "manconv  converts  a  manual page from one encoding to another, like iconv.  Unlike iconv, it\ncan try multiple possible input encodings in sequence.  This is useful for manual  pages  in‐\nstalled  in  directories without an explicit encoding declaration, since they may be in UTF-8\nor in a legacy character set.\n\nIf an encoding declaration is found on the first line of the manual  page,  that  declaration\noverrides  any  input  encodings  specified on manconv's command line.  Encoding declarations\nhave the following form:\n\n'\\\" -*- coding: UTF-8 -*-\n\nor (if manual page preprocessors are also to be declared):\n\n'\\\" t -*- coding: ISO-8859-1 -*-\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-f _ --from-code _",
                        "content": "Try each of encodings (a colon-separated list) in sequence as the input encoding.  The\ndefault is to guess likely input encodings based on the file name.\n",
                        "flag": "-f",
                        "long": "--from-code"
                    },
                    {
                        "name": "-t _ --to-code _",
                        "content": "Convert the manual page to encoding.\n",
                        "flag": "-t",
                        "long": "--to-code"
                    },
                    {
                        "name": "-q --quiet",
                        "content": "Do not issue error messages when the page cannot be converted.\n",
                        "flag": "-q",
                        "long": "--quiet"
                    },
                    {
                        "name": "-d --debug",
                        "content": "Print debugging information.\n",
                        "flag": "-d",
                        "long": "--debug"
                    },
                    {
                        "name": "-h --help",
                        "content": "Print a help message and exit.\n",
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-V --version",
                        "content": "Display version information.\n",
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "iconv(1), man(1), man-recode(1)\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Colin Watson (cjwatson@debian.org).\n",
                "subsections": []
            },
            "BUGS": {
                "content": "https://gitlab.com/man-db/man-db/-/issues\nhttps://savannah.nongnu.org/bugs/?group=man-db\n\n2.12.0                                       2023-09-23                                   MANCONV(1)",
                "subsections": []
            }
        }
    }
}