help.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CHCP
Notes  Examples
────────────────────────────────────────────────────────────────────────────
 
                                    CHCP
 
Displays the number of the active character set (code page). You can also
use the CHCP command to change the active character set for all devices that
support character set switching.
 
You must install the <NLSFUNC> program before you can use the CHCP command.
 
For an introduction to using character sets and the CHCP command, see the
chapter "Customizing For International Use" in the MS-DOS User's Guide.
 
Tables of the character sets included with MS-DOS are shown in the appendix
"Keyboard Layouts and Character Sets" in the MS-DOS User's Guide. For
information about additional code pages included with MS-DOS 6.22, see the
COUNTRY.TXT file (located in the directory that contains your MS-DOS
files).
 
Syntax
 
    CHCP [nnn]
 
To display the number of the active character set, use the following
syntax:
 
    CHCP
 
Parameter
 
nnn
    Specifies the prepared system character set defined by the COUNTRY
    command in the CONFIG.SYS file. By default, MS-DOS provides character
    sets for the following countries and languages:
 
    437    United States
 
    850    Multilingual (Latin I)
 
    852    Slavic (Latin II)
 
    860    Portuguese
 
    863    Canadian-French
 
    865    Nordic
 
    Additional countries and languages are supported by the EGA2.CPI and
    EGA3.CPI files. For more information, see the COUNTRY.TXT file, which is
    located in the directory that contains your MS-DOS files.
 
Related Commands
 
For more information about character sets, see the <COUNTRY>, <NLSFUNC>, and
<MODE (set device code pages)> commands.
 
                                      ♦