ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Aleksander N.Gorohovski" <angel@feht.dgtu.donetsk.ua>
To: "ALT Linux Community" <community@lists.altlinux.org>
Subject: Re: [Comm] codepage for ISPELL
Date: Sat, 07 Oct 2006 18:55:59 -0000
Message-ID: <op.tg2evlinmb8vzs@oc.peooc.net> (raw)
In-Reply-To: <20061007112033.GA10654@procyon.home>

On Sat, 07 Oct 2006 11:20:33 -0000, Sergey Vlasov <vsu@altlinux.ru> wrote:

> On Sat, Oct 07, 2006 at 01:48:42PM -0000, Aleksander N.Gorohovski wrote:
>> Подскажите, можно ли и как указать ispell в какой кодировке
>> (koi-8r, cp1251, ...) находится текст проверяемого файла.
>
> Поставить нужный пакет ispell-ru-*-cp1251, после чего вместо словаря
> russian указывать russianw.  Ещё придётся запускать ispell, например,
> внутри LC_ALL=ru_RU.CP1251 xterm -fn <шрифт в cp1251>.

Если я правильно понимаю надо
LC_ALL=ru_RU.CP1251
прописать в ~/.i18n

А можно только на время запуска xterm
установить (временно) эту среду?

Какой бы <шрифт в cp1251> Вы посоветовали?


Спасибо.

>> К сожалению, по умолчанию ispell применяет кодировку локали
>> пользователя (koi8-r), а проверить, например tex-файлы в cp1251
>> не удаётся.
>
> На самом деле ispell вообще не имеет никакого понятия о локали -
> используется 8-битная кодировка, в которой создавался словарь.

В $HOME/.i18n, помимо LANG, также устанавливается переменная окружения
DICTIONARY.

Понятно. Премного благодарен.


  parent reply	other threads:[~2006-10-07 18:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-07 13:48 Aleksander N.Gorohovski
2006-10-07 11:20 ` Sergey Vlasov
2006-10-07 15:49   ` Aleksander N.Gorohovski
2006-10-07 12:54     ` Sergey Vlasov
2006-10-07 18:26     ` Fr. Br. George
2006-10-07 22:11       ` Aleksander N.Gorohovski
2006-10-07 18:55   ` Aleksander N.Gorohovski [this message]
2006-10-07 16:00     ` Alexej Kryukov
2006-10-07 16:07     ` Alexej Kryukov
2006-10-07 18:15       ` Sergey Vlasov
2006-10-07 19:42         ` Alexej Kryukov
2006-10-07 19:37       ` Aleksander N.Gorohovski
2006-10-07 17:13         ` Alexej Kryukov
2006-10-07 20:30           ` Aleksander N.Gorohovski
2006-10-07 21:06             ` Aleksander N.Gorohovski
2006-10-07 20:15               ` Alexej Kryukov
2006-10-08 10:00                 ` Aleksander N.Gorohovski

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=op.tg2evlinmb8vzs@oc.peooc.net \
    --to=angel@feht.dgtu.donetsk.ua \
    --cc=community@lists.altlinux.org \
    /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