upload tizen2.0 source
[framework/uifw/xorg/lib/libx11.git] / debian / patches / 015_russian_locale_alias.diff
1 Fix russian locale.  Closes: #368655.
2
3 This aligns with the glibc definition in /usr/share/locale/locale.alias.
4 This only applies to Debian's glibc, see bug #62586 and glibc 2.2.5-4.
5
6 For the same glib reason, we cannot change ru and ru_RU away from ISO8859-5,
7 since that encoding is enshrined in /usr/share/i18n/locales/ru_RU.  Insert
8 appropriate perjorative language here.
9
10 Suggestion: can the russian default be changed to UTF-8 instead of KOI8-R?
11 This will make it easier for russians to fit in with the rest of the world.
12
13 Index: libx11/nls/locale.alias.pre
14 ===================================================================
15 --- libx11.orig/nls/locale.alias.pre
16 +++ libx11/nls/locale.alias.pre
17 @@ -1265,7 +1265,7 @@
18  portuguese.iso88591:                           pt_PT.ISO8859-1
19  romanian:                                      ro_RO.ISO8859-2
20  rumanian:                                      ro_RO.ISO8859-2
21 -russian:                                       ru_RU.ISO8859-5
22 +russian:                                       ru_RU.KOI8-R
23  serbocroatian:                                 sr_RS.UTF-8@latin
24  sinhala:                                       si_LK.UTF-8
25  slovak:                                                sk_SK.ISO8859-2