On 05/29/2017 06:17 AM, Chan Ju Ping wrote:
On Monday, 29 May 2017 5:34:21 PM +08 Chan Ju Ping wrote:
I have changed my locale and this is my output now:
-- locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_GB.UTF-8 LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C LC_TIME=en_MY.UTF-8 LC_COLLATE="en_GB.UTF-8" LC_MONETARY=en_MY.UTF-8 LC_MESSAGES="en_GB.UTF-8" LC_PAPER="en_GB.UTF-8" LC_NAME="en_GB.UTF-8" LC_ADDRESS="en_GB.UTF-8" LC_TELEPHONE="en_GB.UTF-8" LC_MEASUREMENT="en_GB.UTF-8" LC_IDENTIFICATION="en_GB.UTF-8" LC_ALL= --
I still can't see the CJK characters in my terminal, and /etc/sysconfig Editor describes for LC_ALL,
"This variable will override all LC-variables!! Again, ROOT_USES_LANG must be set to "yes", if an effect on the superuser account is desired."
So that would make my LC_TIME setting meaningless, presumably. Or am I mistaken? I tried uncompressing a file with Japanese characters, and it failed. So it appears if it doesn't work in the terminal, it won't work for unrar or unzip.
Any wild solutions to try?
It does not seem as though en_MY is available for Linux. If you look in /usr/lib/locale/ for en_*, there are 37 entries, but no en_MY. Also, there is no output from: 'locale --all-locales | egrep -i en_MY' It is recognized as a language combination in CLDR (http://www.unicode.org/cldr/charts/latest/supplemental/territory_language_in...), but does not seem to be defined on Linux (Opensuse or Red Hat, so probably glibc). It does seem to be defined for Windows (https://www.microsoft.com/resources/msdn/goglobal/default.mspx?submitted=4409&OS=Windows%207). This may be why we can find references to it in Perl and Python. Since en_MY is does not seem to be defined for Linux, it would probably be best to just drop it. Or, if you are ambitious, you could write a definition, as described on https://sourceware.org/glibc/wiki/Locales#Charsets. Patrick -- Patrick McNeil Université de Montréal - TI Pav. Roger-Gaudry, X-205 Téléphone: (514) 343-6111, poste 5247 Courriel: patrick.mcneil@umontreal.ca Télécopie/FAX: (514) 343-2155 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org