|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Kirill Frolov 2:5030/827.2 08 Sep 2004 07:22:47 To : Leon Afanasev Subject : Re: Debian, локали --------------------------------------------------------------------------------
On Mon, 06 Sep 04 10:36:08 +0400, Leon Afanasev wrote:
LA> Где взять для Дебиана русские локали cp1251 и cp866? В пакете locales
LA> (из sarge) их, насколько я понял, нету.
В новом (который в Debian) libc есть генератор локалей -- localedef.
Вот им и пользуйся. Только лучше locale-gen, как это в Debian
предусмотрено. Пример:
$ cat /etc/locale.gen
# This file lists locales that you wish to have built. You can find a list
# of valid supported locales at /usr/share/i18n/SUPPORTED. Other
# combinations are possible, but may not be well tested. If you change
# this file, you need to rerun locale-gen.
#
# больше не GENERATED
#
# NOTE!!! If you change this file by hand, and want to continue
# maintaining manually, remove the above line. Otherwise, use the command
# "dpkg-reconfigure locales" to manipulate this file. You can manually
# change this file without affecting the use of debconf, however, since it
# does read in your changes.
ru_RU.CP1251 CP1251
ru_RU.CP866 CP866
ru_RU.ISO-8859-5 ISO-8859-5
ru_RU.KOI8-R KOI8-R
ru_RU.UTF-8 UTF-8
--- [ZX]
* Origin: [ лучше пингвин в руках, чем журавль в облаках ] (2:5030/827.2)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/383393d95f48.html, оценка из 5, голосов 10
|