Solution to garbled characters when Ubuntu is used as a Server

Source: Internet
Author: User

Ubuntu Linux is now an important Server platform. Users mainly use Ubuntu to execute general tasks such as websites, databases, archives, printing, and email servers, some users also use Ubuntu as an important platform for security, backup, and firewall. During the installation of the ubuntu system as a Server, there will always be some problems. The following is what I plan to use the Ubuntu Server version as a Server. During the installation, I did not pay attention to it. I chose a Chinese character directly, after entering the system, you will find a solution with garbled characters. The figure is at the end. The solution is as follows: 1. use the vi editor to modify the/etc/default/local file. 2. replace the original Chinese encoding with the following LANG = "en_US.UTF-8" LANGUAGE = "en_US: en" 3. log out of the system, log on again and OK Note: There is a temporary change method: Use the command export LANG = "en_US.UTF-8" and export LANGUAGE = "en_US: en"
 

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.