How to change the system encoding on Win10 computer? How to modify the system encoding on Win10

WBOY
Release: 2024-06-10 09:55:34
Original
386 people have browsed it

How to modify the system encoding in Windows 10? Changing the system encoding allows users to customize how the system handles files and information in different languages ​​and character sets. It’s important to understand the steps and considerations for modifying your Windows 10 system encoding. In this article, PHP editor Xinyi introduces in detail the method of changing the system encoding to help users adjust the system according to their specific needs.

win10电脑怎么更改系统编码? Win10修改系统编码的方法

Method 1: Set to the system default encoding

1. First, open the control panel interface and click on the "Clock and Region" setting;

win10电脑怎么更改系统编码? Win10修改系统编码的方法

2. Then, continue to click "Region".

win10电脑怎么更改系统编码? Win10修改系统编码的方法

3. Then, in the pop-up window, switch to the "Management" option bar;

win10电脑怎么更改系统编码? Win10修改系统编码的方法

4. Then, click on the “Change system locale” option below.

win10电脑怎么更改系统编码? Win10修改系统编码的方法

5. At this time, check "Use Unicode UTF-8" and click OK.

win10电脑怎么更改系统编码? Win10修改系统编码的方法

#6. Restart the system and verify the result to see if the setting is successful (as shown in the picture).

win10电脑怎么更改系统编码? Win10修改系统编码的方法

Note: This method may cause garbled code problems. For example, for development, in idea or eclipse development tools, if the project directory contains Chinese, the log may contain Garbled characters.

Method 2: Temporarily set to the specified encoding through the command line (temporary modification)

Enter chcp 65001 in cmd // Set to UTF-8

Note: When setting through the command line, the specified encoding is only available in the cmd window. The system default encoding has not been modified. The usage scenario is that the current window needs to send a command with the specified encoding.

As shown below:

win10电脑怎么更改系统编码? Win10修改系统编码的方法

Method 3: Modify the registry (permanent modification)

After WIN+R is opened and run, Enter "regedit" to open the registry. Find HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor

and then "right-click-New", select "String Value", fill in "autorun" in the "Name" column, and fill in "chcp 65001" for the numerical data (note: there is A space! )

In this way, we will automatically set the encoding format to Simplified Chinese UTF-8.

win10电脑怎么更改系统编码? Win10修改系统编码的方法

Method 4: Modify the registry (permanent modification)

1. Press the Win + R keys to open the run window

2 , enter "regedit" and click the "OK" button

3. In the registry editor, navigate to the "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage" path

4. Find the "ACP" key and double-click to open it

5. Enter the required default encoding value in the "Value Data" field

6. Click the "OK" button to save the changes

win10电脑怎么更改系统编码? Win10修改系统编码的方法

The above is the detailed content of How to change the system encoding on Win10 computer? How to modify the system encoding on Win10. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template