Ubuntu modified Locale to change the locale of the Linux system, but Ubuntu modified Locale often has an error, resulting in a series of problems such as Chinese garbled. This article will introduce how to solve the Ubuntu system modification Locale process error?
problems described
terminal display Chinese, Chinese application which displays abnormal.
Error performance
1$ sudo dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale Settings:
LANGUAGE = “zh_CN:zh:en_US:en”,
LC_ALL = “zh_CN.UTF-8”,
LANG = “zh_CN. UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF-8)
Generating locales. .
en_US.UTF-8. . /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF-8)
up-to-date
Generation complete.
1$ man locale
man: can‘t set the locale; make sure $LC_* and $LANG are correct
1$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file Or directory
LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:zh:en_US:en
LC_CTYPE=“zh_CN.UTF-8”
LC_NUMERIC=“zh_CN.UTF-8”
LC_TIME=“zh_CN.UTF-8”
LC_COLLATE=“zh_CN.UTF-8”
LC_MONETARY=“zh_CN.UTF-8”
LC_MESSAGES=“zh_CN.UTF-8”
LC_PAPER=“zh_CN.UTF-8”
LC_NAME=“zh_CN.UTF-8”
LC_ADDRESS=“zh_CN.UTF-8”
LC_TELEPHONE=“zh_CN.UTF-8”
LC_MEASUREMENT= <;zh_CN.UTF-8”
LC_IDENTIFICATION=“zh_CN.UTF-8”
LC_ALL=
1$ localectl list-locales
C.UTF-8
en_US.utf8
zh_CN.utf8 Previous12Next Total 2 Pages
ssh is the systems secure shell protocol. Several versions have been developed. Do
Some people may have some old computers in their homes. These computer configurations cant keep up.
In Ubuntu 12.04 system, there is sometimes a shortage of space in the /boot space,
When Linux uses the vi editor, vi is stuck, and this happens frequently. What is the cause of vi car
How to install rar and unrar commands in Linux
Linux shutdown selinux security subsystem skills
How to configure a firewall for a Linux system using the iptables command
Introduction to the syntax and parameters of the Linux system xlsclients command
Crunchbang system restores Openbox default configuration method
Linux how to use the locate command to find data
How to install and configure Salt
How to set command aliases in Linux
What should I do if I get an error when compiling PARSEC 2.1 under Ubuntu?
How to install and configure DenyHosts tool
Complementing the Win2003 partition, worth the skills you learn
How to solve the garbled Windows 8 installation software?
Win7 environment successfully used the system account to execute cmd
How does Win10 display the start screen
Microsoft officially wonder why your computer did not receive the Win10 update upgrade notice?
Batch modify the remote Linux server password
Talking about Windows Server 2008 application
Win10 users can not open the manual folder after the manual modification method
How to solve Win8.1 can not use IE11 to upload pictures to QQ space problem