Home > System Tutorial > LINUX > body text

How to solve the diamond garbled problem in Linux? How to fix Linux diamond garbled characters?

PHPz
Release: 2024-01-03 23:38:06
forward
1652 people have browsed it

Solution to Linux rhombus garbled code:

Execute command: vim /var/lib/locales/supported.d/local

Delete the original content inside and add it as:

en_US.UTF-8 UTF-8

Execute command: vim /etc/default/locale

change into:

LANG="en_US.UTF-8"

LANGUAGE="en_US:en"

Remember to save after modification. Please use root permissions to enter the modification.

Then restart directly and it will be OK.

The above is the detailed content of How to solve the diamond garbled problem in Linux? How to fix Linux diamond garbled characters?. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!