Home >System Tutorial >LINUX >How to solve the diamond garbled problem in Linux? How to fix Linux diamond garbled characters?

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

PHPz
PHPzforward
2024-01-03 23:38:061699browse

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!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete