-bash:warning:setlocale:lc_ctype:cannot change Locale (en_US. UTF-8) The following error occurred after setting the English character set of the Linux system from Chinese first the system character set is Chinese utf-8[[email protected] ~]# more/etc/sysconfig/i18n lang= "ZH_CN. UTF-8 "modified to English utf-8[[email protected] ~]# vim/etc/sysconfig/i18n lang=" en_US. UTF-8 "source is in effect [[email protected] ~]# source/etc/sysconfig/i18n lang=" en_US. UTF-8 "After landing with SECURECRT reported the following error last Login:sat Oct 11:35:03, from 162.16.16.144-bash:warning:setlocale:lc_ctype:cannot Change locale (en_US. UTF-8): No such file or directory-bash:warning:setlocale:lc_collate:cannot change locale (en_US. UTF-8): No such file or directory-bash:warning:setlocale:lc_messages:cannot change locale (en_US. UTF-8): No such file or directory-bash:warning:setlocale:lc_numeric:cannot change locale (en_US. UTF-8): No such file or directory-bash:warning:setlocale:lc_time:cannot change locale (en_US. UTF-8): No Such file or directory is re-modified to English UTF-8 character set en lowercase [[email protected] ~]# vim/etc/sysconfig/i18n lang= "En_uS.utf-8 "source is in effect [[email protected] ~]# source/etc/sysconfig/i18n lang=" en_US. UTF-8 "with SecureCRT Landing, error disappeared, it seems that the case of errors caused by the language environment [[email protected] ~]# last Login:sat Oct 11:35:03 162.16.16.144 executes the locale command to see where the error is [[email protected] ~]# Localelang=en_us. Utf-8lc_ctype= "en_US. UTF-8 "lc_numeric=" en_US. UTF-8 "Lc_time=" en_US. UTF-8 "Lc_collate=" en_US. UTF-8 "lc_monetary=" en_US. UTF-8 "lc_messages=" en_US. UTF-8 "Lc_paper=" en_US. UTF-8 "Lc_name=" en_US. UTF-8 "lc_address=" en_US. UTF-8 "Lc_telephone=" en_US. UTF-8 "Lc_measurement=" en_US. UTF-8 "lc_identification=" en_US. UTF-8 "lc_all=
The specific operation method and error resolution of modifying the Chinese language of Linux into English