Solution to Linux mint garbled characters: 1. Install "What to do if linux mint is garbled?"; 2. Start the Dconf system configuration editor; 3. Add the value of "auto-detected" to "GB18030".
#The operating environment of this article: linux5.9.8 system, Dell G3 computer.
What should I do if garbled characters appear in Linux mint?
LinuxMint solves the problem of Chinese text garbled characters
Open the text created under Windows in Linux Text files often encounter Chinese garbled characters. This is because Linux uses UTF-8
encoding, while the Chinese encoding used by Windows is GB18030
. This can be solved by making the Linux text editor support GB18030
encoding.
First search and install What to do if linux mint is garbled?
in the software manager. If you use the command to install in the terminal, the software name is dconf -tools
.
After installation, start the Dconf system configuration editor, click the tree menu on the right, expand org/x/editor/preferences/encodings, and then click on the right Edit the value of auto-detected
. As shown in the picture, add GB18030
after UTF-8
, pay attention to capital letters, English single quotes, commas and spaces. After modification, close the "Dconf System Configuration Editor".
Recommended study: "linux video tutorial"
The above is the detailed content of What to do if linux mint is garbled?. For more information, please follow other related articles on the PHP Chinese website!