Re: utf8 -> UTF-8 in locale.alias



今日は   <- workaround for ezmlm bug[1]

I'm resending that mail because ezmlm deleted the first part.
It always does that for MIME multipart mails when the first
part has no charset (i.e. it is us-ascii). That's an ezmlm bug.

gdm2 currently uses wrong spellings for the locale names in
it's locale.alias file.

For example, locale.alias contains de_DE.utf8. This works with glibc
because glibc doesn't care for differences in case and
minus-signs. But it doesn't work with X11, for X11 correct spelling
de_DE.UTF-8 has to be used otherwise the function XSupportsLocale()
will fail.

Patch agains gdm-2.4.0.11.

Footnote: 
[1] I'm resending this mail because ezmlm deleted the first part of it.
It always does that for MIME multipart mails when the first
part has no charset (i.e. it is us-ascii). That's an ezmlm bug.

diff -ru gdm-2.4.0.11.orig/config/locale.alias gdm-2.4.0.11/config/locale.alias
--- gdm-2.4.0.11.orig/config/locale.alias	2002-08-23 00:47:35.000000000 +0200
+++ gdm-2.4.0.11/config/locale.alias	2002-11-03 14:55:07.000000000 +0100
@@ -14,54 +14,54 @@
 #
 #		- George
 
-Azerbaijani		az_AZ.utf8,az_AZ
-Arabic(Egypt)		ar_EG.utf8,ar_EG
-Arabic(Lebanon)		ar_LB.utf8,ar_LB
-Basque			eu_ES.utf8,eu_ES
-Bulgarian		bg_BG.utf8,bg_BG
-Catalan			ca_ES.utf8,ca_ES
-Chinese(simplified)	zh_CN.utf8,zh_CN
-Chinese(traditional)	zh_TW.utf8,zh_TW
-Croatian		hr_HR.utf8,hr_HR
-Czech			cs_CZ.utf8,cs_CZ
-Danish			da_DK.utf8,da_DK
-Dutch			nl_NL.utf8,nl_NL
-Estonian		et_EE.utf8,et_EE
-English(American)	en_US.utf8,en_US
-English(Australian)	en_AU.utf8,en_AU
-English(British)	en_GB.utf8,en_GB
-English(Ireland)	en_IE.utf8,en_IE
-Finnish			fi_FI.utf8,fi_FI
-French			fr_FR.utf8,fr_FR
-Galician		gl_ES.utf8,gl_ES
-German			de_DE.utf8,de_DE
-Greek			el_GR.utf8,el_GR
-Hebrew			he_IL.utf8,he_IL
-Hungarian		hu_HU.utf8,hu_HU
-Icelandic		is_IS.utf8,is_IS
-Irish			ga_IE.utf8,ga_IE
-Italian			it_IT.utf8,it_IT
-Japanese		ja_JP.utf8,ja_JP
-Korean			ko_KR.utf8,ko_KR
-Latvian			lv_LV.utf8,lv_LV
-Lithuanian		lt_LT.utf8,lt_LT
-Macedonian		mk_MK.utf8,mk_MK
-Malay			ms_MY.utf8,ms_MY
-Norwegian(bokmal)	no_NO.utf8,no_NO
-Norwegian(nynorsk)	nn_NO.utf8,nn_NO
-Polish			pl_PL.utf8,pl_PL
-Portuguese		pt_PT.utf8,pt_PT
-Portuguese(Brazilian)	pt_BR.utf8,pt_BR
-Romanian		ro_RO.utf8,ro_RO
-Russian			ru_RU.utf8,ru_RU
-Slovak			sk_SK.utf8,sk_SK
-Slovenian		sl_SI.utf8,sl_SI
-Spanish			es_ES.utf8,es_ES
-Spanish(Mexico)		es_MX.utf8,es_MX
-Swedish			sv_SE.utf8,sv_SE
-Swedish(Finland)	sv_FI.utf8,sv_FI
-Tamil			ta_IN.utf8,ta_IN
-Turkish			tr_TR.utf8,tr_TR
-Ukrainian		uk_UA.utf8,uk_UA
-Vietnamese		vi_VN.utf8,vi_VN
-Walloon			wa_BE.utf8,wa_BE
+Azerbaijani		az_AZ.UTF-8,az_AZ
+Arabic(Egypt)		ar_EG.UTF-8,ar_EG
+Arabic(Lebanon)		ar_LB.UTF-8,ar_LB
+Basque			eu_ES.UTF-8,eu_ES
+Bulgarian		bg_BG.UTF-8,bg_BG
+Catalan			ca_ES.UTF-8,ca_ES
+Chinese(simplified)	zh_CN.UTF-8,zh_CN
+Chinese(traditional)	zh_TW.UTF-8,zh_TW
+Croatian		hr_HR.UTF-8,hr_HR
+Czech			cs_CZ.UTF-8,cs_CZ
+Danish			da_DK.UTF-8,da_DK
+Dutch			nl_NL.UTF-8,nl_NL
+Estonian		et_EE.UTF-8,et_EE
+English(American)	en_US.UTF-8,en_US
+English(Australian)	en_AU.UTF-8,en_AU
+English(British)	en_GB.UTF-8,en_GB
+English(Ireland)	en_IE.UTF-8,en_IE
+Finnish			fi_FI.UTF-8,fi_FI
+French			fr_FR.UTF-8,fr_FR
+Galician		gl_ES.UTF-8,gl_ES
+German			de_DE.UTF-8,de_DE
+Greek			el_GR.UTF-8,el_GR
+Hebrew			he_IL.UTF-8,he_IL
+Hungarian		hu_HU.UTF-8,hu_HU
+Icelandic		is_IS.UTF-8,is_IS
+Irish			ga_IE.UTF-8,ga_IE
+Italian			it_IT.UTF-8,it_IT
+Japanese		ja_JP.UTF-8,ja_JP
+Korean			ko_KR.UTF-8,ko_KR
+Latvian			lv_LV.UTF-8,lv_LV
+Lithuanian		lt_LT.UTF-8,lt_LT
+Macedonian		mk_MK.UTF-8,mk_MK
+Malay			ms_MY.UTF-8,ms_MY
+Norwegian(bokmal)	no_NO.UTF-8,no_NO
+Norwegian(nynorsk)	nn_NO.UTF-8,nn_NO
+Polish			pl_PL.UTF-8,pl_PL
+Portuguese		pt_PT.UTF-8,pt_PT
+Portuguese(Brazilian)	pt_BR.UTF-8,pt_BR
+Romanian		ro_RO.UTF-8,ro_RO
+Russian			ru_RU.UTF-8,ru_RU
+Slovak			sk_SK.UTF-8,sk_SK
+Slovenian		sl_SI.UTF-8,sl_SI
+Spanish			es_ES.UTF-8,es_ES
+Spanish(Mexico)		es_MX.UTF-8,es_MX
+Swedish			sv_SE.UTF-8,sv_SE
+Swedish(Finland)	sv_FI.UTF-8,sv_FI
+Tamil			ta_IN.UTF-8,ta_IN
+Turkish			tr_TR.UTF-8,tr_TR
+Ukrainian		uk_UA.UTF-8,uk_UA
+Vietnamese		vi_VN.UTF-8,vi_VN
+Walloon			wa_BE.UTF-8,wa_BE

-- 
Mike Fabian   <mfabian suse de>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵¤ 。


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]