{
    "mode": "man",
    "parameter": "CODEPAGE",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/man/CODEPAGE/json",
    "generated": "2026-11-10T09:27:46Z",
    "synopsis": "codepage [ -c | -l | -L | -a | nnn ] file.cpi",
    "sections": {
        "NAME": {
            "content": "codepage - extract a codepage from an MSDOS codepage file\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "codepage [ -c | -l | -L | -a | nnn ] file.cpi\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The codepage command extracts codepages from an MSDOS codepage file.\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "-c     Input file is a single codepage\n\n\n-L     Print header info (you don't want to see this).\n\n\n-l     List all codepages contained in the file.\n\n\n-a     Extract all codepages from the file\n\n\nnnn    (3 digits): extract codepage nnn from the file.\n\n",
            "subsections": []
        },
        "EXAMPLE": {
            "content": "To create a file 850.cp, with codepage 850 from a file ega.cpi, execute:\n\ncodepage ega.cpi 850\n\n\n\nkbd                                          2002-02-19                                  CODEPAGE(1)",
            "subsections": []
        }
    },
    "summary": "codepage - extract a codepage from an MSDOS codepage file",
    "flags": [],
    "examples": [
        "To create a file 850.cp, with codepage 850 from a file ega.cpi, execute:",
        "codepage ega.cpi 850",
        "kbd                                          2002-02-19                                  CODEPAGE(1)"
    ],
    "see_also": [],
    "tldr": {
        "source": "not_found",
        "examples": []
    }
}