Windows modifies PowerShell (Command Prompt) default Chinese encoding method

Source: Internet
Author: User

Purpose: Because other coding is often used when programming, but using the CHCP command can only modify the current Chinese encoding mode

CHCP command
Chcpchcp 65001

Modify Registry Mode

Win+r

Regedit

Locate registry location: [Hkey_current_user\console\codepage]

Attached Code table
Code page country or language 437 United States 708 Arabic (asmo 708) 720 Arabic (DOS) 850 multilingual (Latin I) 852 Central Europe (Dos)-Slavic (Latin II) 855 Cyrillic (Russian) 857 Turkish 860 Portuguese 861 Icelandic 862 Hebrew (DOS) 86 3 Canada-French 865 Germanic 866 Russian-Cyrillic (DOS) 869 Modern Greek 874 Thai (Windows) 932 Day (English) Wen (shift-jis) 936 China-Simplified Chinese (GB2312) 949 Korean 950 Traditional Chinese (BIG5) a Unicode 1201 U          Nicode (Big-endian) 1250 Central Europe (Windows) 1251 Cyrillic (Windows) 1252 Western Europe (Windows) 1253 Greek (Windows) 1254 Turkish (Windows) 1255 Hebrew (Windows) 1256 Arabic (Windows) 1257 Baltic (Windows) 1258 Vietnamese (wind OWS) 20866 Cyrillic (Koi8-r) 21866 Cyrillic (Koi8-u) 28592 Central Europe (ISO) 28593 Latin 3 (ISO) 28594 Baltic (ISO) 2 8595 Cyrillic (ISO) 28596 Arabic (ISO) 28597 Greek (ISO) 28598 Hebrew (iso-visual) 38598 Hebrew (iso-logical ) 50000 user-defined 50001        Automatic selection 50220 Japanese (JIS) 50221 Japanese (jis-allow one byte of katakana) 50222 Japanese (jis-allow one byte katakana-so/si) 50225 Korean (ISO) 50932 Japanese (auto-Select) 50949 Korean (auto-Select) 51932 Japanese (EUC) 51949 Korean (EUC) 52936 Simplified Chinese (HZ) 65000 unicod E (UTF-7) 65001 Unicode (UTF-8)

  

Windows modifies PowerShell (Command Prompt) default Chinese encoding method

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.