{
    "mode": "man",
    "parameter": "codepage",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/codepage/1/json",
    "generated": "2026-06-03T00:25:20Z",
    "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\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": []
}