ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: therion <therion@pochta.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Смена кодировок
Date: Thu, 25 Dec 2003 09:46:18 +0500
Message-ID: <200312250946.18298.therion@pochta.ru> (raw)
In-Reply-To: <E1AZ5UA-000Phb-00.kumar_mail_list-list-ru@f7.mail.ru>

В сообщении от 24 Декабрь 2003 14:39 Alex Юрцев написал(a):
> Кодировка в системе koi8-r, но ср1251 тоже установлена.
> Как правильно поменять кодировку на ср1251 ?
Файл в домашнем каталоге пользователя .i18n следующий
LANG=ru_RU.CP1251
LANGUAGE=ru_RU.CP1251
SYSFONTACM=cp1251
SYSFONT=UniCyr_8x16
DICTIONARY=russian
MPAGE="-CCP1251"
export DICTIONARY MPAGE

Затем системный в /etc/sysconfig c таким же именем
SYSFONT=UniCyr_8x16
LANGUAGE=ru_RU.CP1251
LANG=ru_RU.CP1251
SYSFONTACM=cp1251

Там же (sysconfig) файл keyboard заменить строку 
KEYTABLE=ruwin_ct_sh-KOI8-R на
KEYTABLE=ruwin_ct_sh-CP1251

Ну и кроме всего этого, в файлах /etc/fstab and /etc/auto.tab
подкорректировть параметр iocharset в соответствии с новой системной кодировкой.

Кроме того, как уже замечено, до перехода следует переименовать русские имена файлов созданных на Линукс партиции на латинские
Можно потом декодировать, как говорится на ваше усмотрение....
Удачи.

      parent reply	other threads:[~2003-12-25  4:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-24  9:39 "Alex Юрцев" 
2003-12-24 12:19 ` Andriy Dobrovol's'kii
2003-12-25  4:46 ` therion [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200312250946.18298.therion@pochta.ru \
    --to=therion@pochta.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git