The chcp command in Windows
The chcp command changes the active code page console. If used without parameters, the chcp command will show the number of active page code of the control panel.
For an example of how to use this command, please see the Example below.
Chcp command syntax
chcp []
Parameters
ParametersDescription Specifies the code page. /? Show help at the command prompt.The following table lists each supported code page and its country / region or language:
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 Iceland 863 Canadian-French 865 Northern European 866 Russia 869 Greece 936 ChinaNote
- Only the original device manufacturer's (OEM) code page installed with Windows will appear correctly in the Command Prompt window using Raster fonts. Other code pages appear correctly in full screen mode or in the Command Prompt window using TrueType fonts.
- You do not need to prepare code pages (as in MS-DOS).
- Programs that you start after you specify a new code page will use the new code page. However, the programs (except Cmd.exe) that you start before you specify the new code page use the original code page.
For example
To see the active code page settings, enter:
chcp
A message similar to the following appears:
Active code page: 437
To change the active code page to 850 (Multilingual), enter:
CHCP 850
If the specified code page is invalid, the following error message appears:
Invalid code page
See more:
- Change command in Windows
- Cd command in Windows
- The cacls command in Windows
4 ★ | 25 Vote
You should read it
May be interested
- Instructions for using Command Promptdeep in windows is a command-line world that is obscure. in this article, we will show you how to solve errors and make your computer more secure.
- Rd command in Windowsthe rd command helps delete a directory
- Cmd command in Windowsthe cmd command starts a new version of the command interpreter, cmd.exe. if used without parameters, cmd will display copyright information and the version of the operating system.
- How to use the command history function in Command Promptcommand prompt is an extremely familiar command for anyone using windows operating system. besides, a lot of current software also supports the command line to perform actions on the command prompt window, instead of on the screen.
- The sfc command in Windows(applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)
- Reg command copy in Windowsto copy an entry to the location specified on the local pc or the remote computer we will use the reg copy command. to learn more about how to use the reg copy command, you can track the syntax, explain the command parameters and the example tipsmake.com has compiled below.
- Fc command in Windowsthe fc command compares two files or a collection of files and displays the differences between them.
- The echo command in Windowsthe echo command displays the message or turns on / off the command repeat feature. if used without parameters, the echo command will display the current echo setting.
- Xcopy command in Windowsthe xcopy command is a command prompt command used to copy one or more files or folders from one location to another. with many options and the ability to copy entire directories, the xcopy command is similar to, but much more powerful, than the copy command.
- The cacls command in Windowsthe cacls command displays or modifies an arbitrary access control list (dacl) on the specified file. the command applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012.