Solve Chinese garbled characters in KDE of arch linux

Source: Internet
Author: User
Tags arch linux

KDE of arch linux solves the problem of Chinese garbled characters in the newly installed arch linux today. The Chinese files on the hard disk are garbled in doldolphin. In addition, many systems are not garbled or English. The ls in the console is garbled. When running locale on www.2cto.com console, it is found that the value of LC_ALL variable is null. If this value is set, the ls result will not be garbled. Set LC_ALL = zh_CN.UTF-8 in/etc/locale. conf and restart. The result is invalid or messy. However, LC_ALL still does not set the value in the result of running locale. Check/etc/profile. d/locale. sh and find that LC_ALL is not processed. Therefore, LC_ALL does not work even if it is set in/etc/locale. conf. Therefore, the LC_ALL processing code is added here: www.2cto.com Shell code [-n "$ LC_ALL"] & export LC_ALL. After restarting, no garbled code is found, in the past, English was also used to become Chinese.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.