---
name: "codepage"
section: "1"
platform: "linux"
package: "kbd"
version: "2.10.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/codepage"
---

# codepage(1)

extract a codepage from an MSDOS codepage file

## NAME

codepage - extract a codepage from an MSDOS codepage file

## SYNOPSIS

**codepage** \[  *-c* \|  *-l* \|  *-L* \| *-a* \|  *nnn* \]  *file.cpi*

## DESCRIPTION

The **codepage** command extracts codepages from an MSDOS codepage file.

## OPTIONS

- *-c*

  Input file is a single codepage

- *-L*

  Print header info (you don't want to see this).

- *-l*

  List all codepages contained in the file.

- *-a*

  Extract all codepages from the file

- *nnn*

  (3 digits): extract codepage *nnn* from the file.

## EXAMPLE

To create a file 850.cp, with codepage 850 from a file ega.cpi, execute:

	codepage ega.cpi 850

## AUTHORS

Ahmed M. Naas \<ahmed@oea.xs4all.nl\>\
 Andries Brouwer \<aeb@cwi.nl\>\
 Manpage by Alastair McKinstry \<mckinstry@computer.org\>
