How does LinuxVPS change locale language settings?
Source: Internet
Author: User
How does LinuxVPS change the locale language settings-Linux Enterprise Application-Linux server application information? For more information, see the following. Our VPS is mainly for domestic users, so the language is basically Chinese. There are many types of Chinese encoding, including UTF8 and GBK. We recommend that you use UTF8 encoding because it is an international standard and compatible with any language.
The first step above is to generate an encoding file. This step is not required. The encoding file usually exists. Run localedef? Help can view the path of the current encoding file. Step 2: change the current code to zh_CN.utf8. If you want to change it permanently, run:
Echo "export LC_ALL = zh_CN.utf8">/etc/profile
It is easier to modify the language encoding In Debian/Ubuntu VPS:
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