LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-09-2006, 09:11 AM   #1
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
locale translating incorrectly


One of my customers has a german program that has "funny" characters that are not being translated correctly:

/Ãœ/Ü/
/Ö/Ö/
/Ä/Ä/
/ü/ü/
/ö/ö/
/ä/ä/
/ß/ß/
/¦/ö/

The / are seperators e.g Ü is coming out as Ãœ

It is working on some of our older machines such as an old solaris box, but isnt working on the new linux builds.

On the solaris box /usr/lib/locale has:

$ ls -l
total 104
drwxr-xr-x 8 bin bin 512 Sep 10 1998 C
lrwxrwxrwx 1 root root 3 May 28 1997 POSIX -> ./C
drwxr-xr-x 8 bin bin 512 Sep 10 1998 cz
drwxr-xr-x 8 bin bin 512 Sep 10 1998 da
drwxr-xr-x 8 bin bin 512 Sep 10 1998 de
drwxr-xr-x 8 bin bin 512 Sep 10 1998 de_AT
drwxr-xr-x 8 bin bin 512 Sep 10 1998 de_CH
drwxr-xr-x 8 bin bin 512 Sep 10 1998 el
drwxr-xr-x 8 bin bin 512 Sep 10 1998 en_AU
drwxr-xr-x 8 bin bin 512 Sep 10 1998 en_CA
drwxr-xr-x 8 bin bin 512 Sep 10 1998 en_IE
drwxr-xr-x 8 bin bin 512 Sep 10 1998 en_NZ
drwxr-xr-x 8 bin bin 512 Sep 10 1998 en_UK
drwxr-xr-x 8 bin bin 512 Sep 10 1998 en_US
drwxr-xr-x 8 bin bin 512 Sep 10 1998 en_US.UTF-8
drwxr-xr-x 8 bin bin 512 Sep 10 1998 es
drwxr-xr-x 8 bin bin 512 Sep 10 1998 es_AR
drwxr-xr-x 8 bin bin 512 Sep 10 1998 es_BO
drwxr-xr-x 8 bin bin 512 Sep 10 1998 es_CL
drwxr-xr-x 8 bin bin 512 Sep 10 1998 es_CO
drwxr-xr-x 8 bin bin 512 Sep 10 1998 es_CR
drwxr-xr-x 8 bin bin 512 Sep 10 1998 es_EC
drwxr-xr-x 3 bin bin 512 Mar 9 1999 es_ES
drwxr-xr-x 8 bin bin 512 Sep 10 1998 es_GT
drwxr-xr-x 8 bin bin 512 Sep 10 1998 es_MX
drwxr-xr-x 8 bin bin 512 Sep 10 1998 es_NI
drwxr-xr-x 8 bin bin 512 Sep 10 1998 es_PA
drwxr-xr-x 8 bin bin 512 Sep 10 1998 es_PE
drwxr-xr-x 8 bin bin 512 Sep 10 1998 es_PY
drwxr-xr-x 8 bin bin 512 Sep 10 1998 es_SV
drwxr-xr-x 8 bin bin 512 Sep 10 1998 es_UY
drwxr-xr-x 8 bin bin 512 Sep 10 1998 es_VE
drwxr-xr-x 8 bin bin 512 Sep 10 1998 et
drwxr-xr-x 8 bin bin 512 Sep 10 1998 fr
drwxr-xr-x 8 bin bin 512 Sep 10 1998 fr_BE
drwxr-xr-x 8 bin bin 512 Sep 10 1998 fr_CA
drwxr-xr-x 8 bin bin 512 Sep 10 1998 fr_CH
drwxr-xr-x 8 bin bin 512 Sep 10 1998 hu
drwxr-xr-x 3 bin bin 512 Sep 10 1998 iso_8859_1
drwxr-xr-x 8 bin bin 512 Sep 10 1998 it
drwxr-xr-x 8 bin bin 512 Sep 10 1998 lt
drwxr-xr-x 8 bin bin 512 Sep 10 1998 lv
drwxr-xr-x 8 bin bin 512 Sep 10 1998 nl
drwxr-xr-x 8 bin bin 512 Sep 10 1998 nl_BE
drwxr-xr-x 8 bin bin 512 Sep 10 1998 no
drwxr-xr-x 8 bin bin 512 Sep 10 1998 pl
drwxr-xr-x 8 bin bin 512 Sep 10 1998 pt
drwxr-xr-x 8 bin bin 512 Sep 10 1998 pt_BR
drwxr-xr-x 8 bin bin 512 Sep 10 1998 ru
drwxr-xr-x 8 bin bin 512 Sep 10 1998 su
drwxr-xr-x 8 bin bin 512 Sep 10 1998 sv
drwxr-xr-x 8 bin bin 512 Sep 10 1998 tr


$ locale
LANG=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

On the linux build there /usr/lib/locale is:

#:/usr/lib/locale> ls -l
total 1048
drwxr-xr-x 3 root root 4096 Sep 13 13:50 af_ZA
drwxr-xr-x 3 root root 4096 Sep 13 13:49 ar_AE
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_AE.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 ar_BH
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_BH.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 ar_DZ
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_DZ.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 ar_EG
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_EG.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_IN
drwxr-xr-x 3 root root 4096 Sep 13 13:49 ar_IQ
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_IQ.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 ar_JO
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_JO.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 ar_KW
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_KW.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 ar_LB
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_LB.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 ar_LY
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_LY.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 ar_MA
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_MA.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 ar_OM
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_OM.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 ar_QA
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_QA.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 ar_SA
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_SA.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 ar_SD
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_SD.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 ar_SY
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_SY.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 ar_TN
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_TN.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 ar_YE
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ar_YE.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 be_BY
drwxr-xr-x 3 root root 4096 Sep 13 13:50 be_BY.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 bg_BG
drwxr-xr-x 3 root root 4096 Sep 13 13:50 bg_BG.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 br_FR
drwxr-xr-x 3 root root 4096 Sep 13 13:50 bs_BA
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ca_ES
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ca_ES.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ca_ES@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 cs_CZ
drwxr-xr-x 3 root root 4096 Sep 13 13:50 cs_CZ.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:49 cy_GB
drwxr-xr-x 3 root root 4096 Sep 13 13:50 da_DK
drwxr-xr-x 3 root root 4096 Sep 13 13:50 da_DK.utf8
drwxr-xr-x 2 root root 4096 Nov 23 2004 da_DK@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 de_AT
drwxr-xr-x 3 root root 4096 Sep 13 13:50 de_AT.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 de_AT@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 de_BE
drwxr-xr-x 3 root root 4096 Sep 13 13:50 de_BE@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 de_CH
drwxr-xr-x 3 root root 4096 Sep 13 13:50 de_CH.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 de_DE
drwxr-xr-x 3 root root 4096 Sep 13 13:50 de_DE.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 de_DE@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 de_LU
drwxr-xr-x 3 root root 4096 Sep 13 13:50 de_LU.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 de_LU@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:49 el_GR
drwxr-xr-x 3 root root 4096 Sep 13 13:50 el_GR.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_AU
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_AU.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_BE
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_BE.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_BE@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_BW
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_CA
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_CA.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_DK
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_GB
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_GB.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_HK
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_IE
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_IE.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_IE@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_IN
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_NZ
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_NZ.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_PH
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_SG
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_US
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_US.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_ZA
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_ZA.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 en_ZW
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_AR
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_AR.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_BO
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_BO.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_CL
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_CL.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_CO
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_CO.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_CR
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_CR.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_DO
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_DO.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_EC
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_EC.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_ES
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_ES.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_ES@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_GT
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_GT.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_HN
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_HN.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_MX
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_MX.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_NI
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_NI.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_PA
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_PA.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_PE
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_PE.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_PR
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_PR.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_PY
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_PY.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_SV
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_SV.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_US
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_UY
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_UY.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_VE
drwxr-xr-x 3 root root 4096 Sep 13 13:50 es_VE.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 et_EE
drwxr-xr-x 3 root root 4096 Sep 13 13:50 et_EE.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 eu_ES
drwxr-xr-x 3 root root 4096 Sep 13 13:50 eu_ES@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fa_IR.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fi_FI
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fi_FI.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fi_FI@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fo_FO
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fo_FO.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fr_BE
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fr_BE.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fr_BE@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fr_CA
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fr_CA.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fr_CH
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fr_CH.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fr_FR
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fr_FR.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fr_FR@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fr_LU
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fr_LU.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 fr_LU@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ga_IE
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ga_IE.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ga_IE@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 gl_ES
drwxr-xr-x 3 root root 4096 Sep 13 13:50 gl_ES.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 gl_ES@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 gv_GB
drwxr-xr-x 3 root root 4096 Sep 13 13:50 he_IL
drwxr-xr-x 3 root root 4096 Sep 13 13:50 he_IL.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 hi_IN.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 hr_HR
drwxr-xr-x 3 root root 4096 Sep 13 13:50 hr_HR.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 hu_HU
drwxr-xr-x 3 root root 4096 Sep 13 13:50 hu_HU.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 id_ID
drwxr-xr-x 3 root root 4096 Sep 13 13:50 id_ID.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 is_IS
drwxr-xr-x 3 root root 4096 Sep 13 13:50 is_IS.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 it_CH
drwxr-xr-x 3 root root 4096 Sep 13 13:50 it_CH.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 it_IT
drwxr-xr-x 3 root root 4096 Sep 13 13:50 it_IT.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 it_IT@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 iw_IL
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ja_JP.eucjp
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ja_JP.sjis
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ja_JP.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ka_GE
drwxr-xr-x 3 root root 4096 Sep 13 13:50 kl_GL
drwxr-xr-x 3 root root 4096 Sep 13 13:50 kl_GL.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ko_KR.euckr
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ko_KR.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 kw_GB
drwxr-xr-x 3 root root 4096 Sep 13 13:50 lt_LT
drwxr-xr-x 3 root root 4096 Sep 13 13:50 lt_LT.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 lv_LV
drwxr-xr-x 3 root root 4096 Sep 13 13:50 lv_LV.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 mi_NZ
drwxr-xr-x 3 root root 4096 Sep 13 13:50 mk_MK
drwxr-xr-x 3 root root 4096 Sep 13 13:50 mk_MK.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 mr_IN.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ms_MY
drwxr-xr-x 3 root root 4096 Sep 13 13:50 mt_MT
drwxr-xr-x 3 root root 4096 Sep 13 13:50 nl_BE
drwxr-xr-x 3 root root 4096 Sep 13 13:50 nl_BE.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 nl_BE@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 nl_NL
drwxr-xr-x 3 root root 4096 Sep 13 13:50 nl_NL.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 nl_NL@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 nn_NO
drwxr-xr-x 3 root root 4096 Sep 13 13:50 no_NO
drwxr-xr-x 3 root root 4096 Sep 13 13:50 no_NO.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 oc_FR
drwxr-xr-x 3 root root 4096 Sep 13 13:50 pl_PL
drwxr-xr-x 3 root root 4096 Sep 13 13:50 pl_PL.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 pt_BR
drwxr-xr-x 3 root root 4096 Sep 13 13:50 pt_BR.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 pt_PT
drwxr-xr-x 3 root root 4096 Sep 13 13:50 pt_PT.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 pt_PT@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ro_RO
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ro_RO.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ru_RU
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ru_RU.koi8r
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ru_RU.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ru_UA
drwxr-xr-x 3 root root 4096 Sep 13 13:50 sh_YU
drwxr-xr-x 3 root root 4096 Sep 13 13:50 sh_YU.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 sk_SK
drwxr-xr-x 3 root root 4096 Sep 13 13:50 sk_SK.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 sl_SI
drwxr-xr-x 3 root root 4096 Sep 13 13:50 sl_SI.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 sq_AL
drwxr-xr-x 3 root root 4096 Sep 13 13:50 sq_AL.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 sr_YU
drwxr-xr-x 3 root root 4096 Sep 13 13:50 sr_YU.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 sr_YU@cyrillic
drwxr-xr-x 3 root root 4096 Sep 13 13:50 sv_FI
drwxr-xr-x 3 root root 4096 Sep 13 13:50 sv_FI.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 sv_FI@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 sv_SE
drwxr-xr-x 3 root root 4096 Sep 13 13:50 sv_SE.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ta_IN
drwxr-xr-x 3 root root 4096 Sep 13 13:50 te_IN
drwxr-xr-x 3 root root 4096 Sep 13 13:50 tg_TJ
drwxr-xr-x 3 root root 4096 Sep 13 13:50 th_TH
drwxr-xr-x 3 root root 4096 Sep 13 13:50 th_TH.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 tl_PH
drwxr-xr-x 3 root root 4096 Sep 13 13:50 tr_TR
drwxr-xr-x 3 root root 4096 Sep 13 13:50 tr_TR.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 uk_UA
drwxr-xr-x 3 root root 4096 Sep 13 13:50 uk_UA.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 ur_PK
drwxr-xr-x 3 root root 4096 Sep 13 13:50 uz_UZ
drwxr-xr-x 3 root root 4096 Sep 13 13:50 vi_VN
drwxr-xr-x 3 root root 4096 Sep 13 13:50 vi_VN.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 wa_BE
drwxr-xr-x 3 root root 4096 Sep 13 13:50 wa_BE@euro
drwxr-xr-x 3 root root 4096 Sep 13 13:50 yi_US
drwxr-xr-x 3 root root 4096 Sep 13 13:50 zh_CN
drwxr-xr-x 3 root root 4096 Sep 13 13:50 zh_CN.gb18030
drwxr-xr-x 3 root root 4096 Sep 13 13:50 zh_CN.gbk
drwxr-xr-x 3 root root 4096 Sep 13 13:50 zh_CN.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 zh_HK
drwxr-xr-x 3 root root 4096 Sep 13 13:50 zh_HK.utf8
drwxr-xr-x 3 root root 4096 Sep 13 13:50 zh_TW
drwxr-xr-x 3 root root 4096 Sep 13 13:50 zh_TW.euctw
drwxr-xr-x 3 root root 4096 Sep 13 13:50 zh_TW.utf8

#> locale
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE=POSIX
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=

I'm not clued up on locale so i'm not sure what to do to decyper it.

Anyone got a clue?

Last edited by Frustin; 02-09-2006 at 09:14 AM.
 
Old 02-09-2006, 09:47 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
You could change the Linux box to C or de_DE with the export command.

For example:
export LANG="C"

or

export LANG="de_DE"

On my FC4 box, it is loaded in the /etc/sysconfig/i18n

LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"


and /etc/sysconfig/keyboard

KEYBOARDTYPE="pc"
KEYTABLE="us"


You can change that around to other things like this.
LANG="C"
COUNTRY="us"
LANGUAGE="us"
CHARSET="iso9995-3"



KEYTABLE="us"
XKEYBOARD="us"
KDEKEYBOARD="us"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
locale: Cannot Set LC_ALL to default locale: No such file or directory. asym Linux - General 11 10-24-2018 05:54 PM
How to change the locale by setting the system default locale letdoit Slackware 6 08-18-2011 03:34 AM
"locale not supported by Xlib, locale set to C" Irad Linux - Software 3 06-25-2006 03:59 PM
windows translating Zhou Yi Linux - Software 16 12-15-2004 09:50 PM
Translating gamehack Linux - General 1 12-25-2003 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration