Home  >  Article  >  Operation and Maintenance  >  How to solve the garbled problem of putty linux

How to solve the garbled problem of putty linux

藏色散人
藏色散人Original
2021-12-14 14:03:194725browse

The solution to putty linux garbled characters: 1. Check the system language character set of the linux machine; 2. Open putty and select the character set consistent with the system language of the linux machine; 3. Reuse ssh to connect to the linux machine. .

How to solve the garbled problem of putty linux

The operating environment of this article: Windows7 system, putty0.75, Dell G3 computer.

How to solve the garbled problem of putty linux?

putty connects to linux, Chinese display garbled solution

Problem description : Under Windows, use putty software to connect to Linux through ssh, and the Chinese display is garbled
Solution:
Step 1: Check the system language character set of the Linux machine.
Operation command:

locale -a

Demonstrate on my machine:
How to solve the garbled problem of putty linux
The command execution result shows that the Linux machine is utf-8 character set
Step 2: Open putty and perform the following operations.
windows–>Translation–>Remote character set, select a character set consistent with the Linux machine system language.
The following figure uses utf-8 as an example for demonstration:
How to solve the garbled problem of putty linux
After the setting is completed, use ssh to connect to the Linux machine again.

Recommended learning: "linux video tutorial"

The above is the detailed content of How to solve the garbled problem of putty linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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