Home > Article > Operation and Maintenance > How to solve the garbled problem of putty linux
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. .
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:
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:
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!