UbuntuServer language setting method

Source: Internet
Author: User
I am going to use Ubuntu Server as the Server. I did not pay attention to it during installation. I chose a Chinese character. After I entered the system, I found 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 and log on again. Note: There are temporary changes.

I am going to use Ubuntu Server as the Server. I did not pay attention to it during installation. I chose a Chinese character. After I entered the system, I found 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 and log on again.

Note: there is also 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.