ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Aleksey Novodvorsky <aen@altlinux.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] kwrite and cp1251 CHOBA ?
Date: Mon May 28 16:11:01 2001
Message-ID: <20010528162135.5ad86ef1.aen@altlinux.ru> (raw)
In-Reply-To: <3B1233A9.B1DDC666@mail.ru>

On Mon, 28 May 2001 15:16:58 +0400
"Vadim V. Zhytnikov" <vvzhy@mail.ru> wrote:

> Господа!
> 
> Имеется чистый Spring 2001, expert, koi8-r.
> Позднее доставлены cp1251 шрифты из из дистрибутива и ttf
> из виндятины. KDE 2.1.1 взят из Сизифа
> в виде src.rpm, скомпилирован и установлен (-U по оригинальному
> 2.1 из дистро). Язык в KDE стоит русский koi8-r.
> 
> Проблема:
> kwrite не желает понимать cp1251. Т.е. при любом
> LANG=ru_RU.CP1251 kwrite
> всё прекраснейшим образом остаётся в koi8-r.
> Различные unset ничего не меняют.
> А вот с abi аналогичный приём с cp1251 работает
> (хотя и тут есть вопросы со шрифтами, но об этом отдельно).

KDE имеет свою, довольно странную систему локализации, при
которой страна/кодировка задается в настройках KDE. 
Впрочем, koffice из Spring весьма слаб пока.

> 
> Что неправильно? Вообще, что надо сделать для ситемы
> поставленной
> 
> как чистый koi8, чтобы иметь возможность иногда работать в
> cp1251?
> Этот вопрос уже задавался но ясного ответа так и не получил.
> Я ничего не нашел кроме дополнительной установки cp1251 шрифтов
> и cp1251 пакета для abiword. Локаль есть. Шрифты есть.
> Что ещё человеку (тфу ошибся... пингвину) нужно для счастья?
> Может надо заводить специального пользователя с cp1251
> локалью и работать под ним? Но чем это отличается от
> LANG=ru_RU.CP1251 ?

Еще полезно unset LANGUAGE. И все. Для большинства приложений
этого достаточно. Исключение -- KDE-приложения (для чистых
qt-приложений все будет в порядке) и X-приложения, для которых
есть файл в /usr/X11R6/lib/X11/$LANG/app-defaults. 

Rgrds, AEN




  reply	other threads:[~2001-05-28 16:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-28 15:16 Vadim V. Zhytnikov
2001-05-28 16:11 ` Aleksey Novodvorsky [this message]
2001-05-28 17:22   ` Vadim V. Zhytnikov

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=20010528162135.5ad86ef1.aen@altlinux.ru \
    --to=aen@altlinux.ru \
    --cc=mandrake-russian@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