CHCP.com

Change the active console Code Page. The default code page is determined by the Windows Locale.

Syntax
      CHCP code_page

Key
   code_page  A code page number (e.g. 437)  

This command is rarely required as most programs now support Unicode. When working with characters outside the ASCII range of 0-127, the choice of code page will determine the set of characters displayed.

Programs that you start after you assign a new code page will use the new code page, however, programs (except Cmd.exe) that you started before assigning the new code page will use the original code page.

Code page Country/region or language

437

United States

850

Multilingual (Latin I)

852

Slavic (Latin II)

855

Cyrillic (Russian)

857

Turkish

860

Portuguese

861

Icelandic

863

Canadian-French

865

Nordic

866

Russian

869

Modern Greek

1252 West European Latin


Examples:

View the current code page:

chcp

Change the code page to 1252:

chcp 1252

“Remember that there is no code faster than no code” ~ Taligent's Guide to Designing Programs

Related:

Powershell: All text input is automatically converted to Unicode
Equivalent bash command (Linux): LANG - locale category environment variable & LC_* variables for locale category


© Copyright SS64.com 1999-2013
Some rights reserved