Command Prompt for Windows




Command CHCP

Function:

Display or set the current active code page for ANSI text.

Syntax:

CHCP [WIN | DOS | MAC | value]
WIN | DOS | MACuse the respective system default code page.
valuespecify a code page by number.

Note:

Enter CHCP without any parameters to display the current active code page.

Code pages only effect ANSI text output, as Unicode text does not use code pages at all.

Also see command ACS.