Страница 1 из 1

UTFимся???

Добавлено: 03 ноя 2006 09:39
Дмитрий А. Трошин
Наконец-то дошли руки дома поставить Arch...
Решил, что будет у меня UTF, разные форумы с их советчиками только усугубляли непонятности. И вот, несколько дней назад я нашел очень хорошую статью.

10 минут и UTF перестает быть проблемой.

UTFимся???

Добавлено: 04 ноя 2006 00:00
Alexxx
В принцыпе всё так, для GTK делал ещё дополнительно это:
-------------------------------------------
/usr/share/X11/locale/compose.dir

Код: Выделить всё

@@ -355,7 +355,7 @@
 pt_BR.UTF-8/Compose		pt_BR.UTF-8
 en_US.UTF-8/Compose		pt_PT.UTF-8
 en_US.UTF-8/Compose		ro_RO.UTF-8
-en_US.UTF-8/Compose		ru_RU.UTF-8
+ru_RU.UTF-8/Compose		ru_RU.UTF-8
 en_US.UTF-8/Compose		ru_UA.UTF-8
 en_US.UTF-8/Compose		rw_RW.UTF-8
 en_US.UTF-8/Compose		si_LK.UTF-8
@@ -744,7 +744,7 @@
 pt_BR.UTF-8/Compose:		pt_BR.UTF-8
 en_US.UTF-8/Compose:		pt_PT.UTF-8
 en_US.UTF-8/Compose:		ro_RO.UTF-8
-en_US.UTF-8/Compose:		ru_RU.UTF-8
+ru_RU.UTF-8/Compose:		ru_RU.UTF-8
 en_US.UTF-8/Compose:		ru_UA.UTF-8
 en_US.UTF-8/Compose:		rw_RW.UTF-8
 en_US.UTF-8/Compose:		si_LK.UTF-8
-----------------------------------------------------------------
/usr/share/X11/locale/locale.alias

Код: Выделить всё

@@ -877,10 +877,10 @@
 ro_RO.iso88592					ro_RO.ISO8859-2
 ro_RO.ISO-8859-2				ro_RO.ISO8859-2
 ro_RO.utf8					ro_RO.UTF-8
-ru						ru_RU.ISO8859-5
-ru_RU						ru_RU.ISO8859-5
-ru_RU.iso88595					ru_RU.ISO8859-5
-ru_RU.ISO-8859-5				ru_RU.ISO8859-5
+ru						ru_RU.UTF-8
+ru_RU						ru_RU.UTF-8
+ru_RU.utf8					ru_RU.UTF-8
+ru_RU.utf-8					ru_RU.UTF-8
 ru_RU.koi8r					ru_RU.KOI8-R
 ru_RU.cp1251					ru_RU.CP1251
 ru_RU.microsoftcp1251				ru_RU.CP1251
@@ -1179,7 +1179,7 @@
 portuguese.iso88591				pt_PT.ISO8859-1
 romanian					ro_RO.ISO8859-2
 rumanian					ro_RO.ISO8859-2
-russian					ru_RU.ISO8859-5
+russian					ru_RU.UTF-8
 serbocroatian					sr_CS.ISO8859-2
 sinhala					si_LK.UTF-8
 slovak						sk_SK.ISO8859-2
@@ -2087,10 +2087,10 @@
 ro_RO.iso88592:					ro_RO.ISO8859-2
 ro_RO.ISO-8859-2:				ro_RO.ISO8859-2
 ro_RO.utf8:					ro_RO.UTF-8
-ru:						ru_RU.ISO8859-5
-ru_RU:						ru_RU.ISO8859-5
-ru_RU.iso88595:					ru_RU.ISO8859-5
-ru_RU.ISO-8859-5:				ru_RU.ISO8859-5
+ru:						ru_RU.UTF-8
+ru_RU:						ru_RU.UTF-8
+ru_RU.utf8:					ru_RU.UTF-8
+ru_RU.utf-8	:				ru_RU.UTF-8
 ru_RU.koi8r:					ru_RU.KOI8-R
 ru_RU.cp1251:					ru_RU.CP1251
 ru_RU.microsoftcp1251:				ru_RU.CP1251
---------------------------------------------------------------------------------------
/usr/share/X11/locale/locale.dir

Код: Выделить всё

@@ -378,7 +378,7 @@
 pt_BR.UTF-8/XLC_LOCALE			pt_BR.UTF-8
 en_US.UTF-8/XLC_LOCALE			pt_PT.UTF-8
 en_US.UTF-8/XLC_LOCALE			ro_RO.UTF-8
-en_US.UTF-8/XLC_LOCALE			ru_RU.UTF-8
+ru_RU.UTF-8/XLC_LOCALE			ru_RU.UTF-8
 en_US.UTF-8/XLC_LOCALE			ru_UA.UTF-8
 en_US.UTF-8/XLC_LOCALE         rw_RW.UTF-8
 en_US.UTF-8/XLC_LOCALE			se_NO.UTF-8
@@ -796,7 +796,7 @@
 pt_BR.UTF-8/XLC_LOCALE:			pt_BR.UTF-8
 en_US.UTF-8/XLC_LOCALE:			pt_PT.UTF-8
 en_US.UTF-8/XLC_LOCALE:			ro_RO.UTF-8
-en_US.UTF-8/XLC_LOCALE:			ru_RU.UTF-8
+ru_RU.UTF-8/XLC_LOCALE:			ru_RU.UTF-8
 en_US.UTF-8/XLC_LOCALE:			ru_UA.UTF-8
 en_US.UTF-8/XLC_LOCALE:         rw_RW.UTF-8
 en_US.UTF-8/XLC_LOCALE:			se_NO.UTF-8
---------------------------------------------------------------------
Шрифты в /etc/gtk/gtkrc.ru_RU.UTF8 "-misc-fixed-medium-r-semicondensed-*-*-120-*-*-c-*-koi8-r" или "-xos4-terminus-medium-r-normal-*-*-120-*-*-c-*-koi8-r"