ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Afanasov Dmitry <ender@atrus.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] перекодирование в vim с utf8
Date: Wed, 16 Aug 2006 12:00:23 +0400
Message-ID: <200608161200.27700.ender@atrus.ru> (raw)
In-Reply-To: <20060816073724.GC22915@immo.ru>

[-- Attachment #1: Type: text/plain, Size: 1106 bytes --]

В сообщении от 16 августа 2006 11:37 Alexey I. Froloff написал(a):
> * Afanasov Dmitry <ender@> [060816 11:26]:
> >  к vim, которому для просмотра cp1251 перед set enc=cp1251 надо
> >  говорить set tenc=koi8-r, когда у меня простите utf.
> С этого места, пожалуйста, поподробней.
терминал urxvt -fn 'xft:misc fixed:pixelsize=15'. шрифт такой, потому что 
urxvt почему-то не может работать со шрифтами x: - не видит. но это другая 
тема :)

запускается vim с файлом с cp1251 содержимым. как обычно вводится set 
tenc=utf8 (если не ввести перекодировка не включается). set enc=cp1251. и 
получаем isoXXXX крякозябры.

запускаем терминал urxvt -fn 'xft:misc fixed:pixelsize=15,xft:misc 
fixed:pixelsize=15:encoding=koi8-r'. set tenc=utf-8, set enc=cp1251 - те же 
самые крякозябры.

set tenc=koi8-r, set enc=cp1251 - текст наконец-то можно прочитать. надо бы 
проверить в других терминалах - urxvt на тему шрифтов вроде особо умный у 
нас :)

конечно работает, но как-то нелогично работает. почему он из cp1251 в utf со 
utf'ными шрифтами перевести не хочет - не понимаю.

-- 
 С уважением,
 Афанасов Дмитрий

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

  reply	other threads:[~2006-08-16  8:00 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-15  8:44 [sisyphus] /etc/sysconfig/keyboard & /etc/sysconfig/consolefont для utf8 локали Afanasov Dmitry
2006-08-16  7:25 ` Afanasov Dmitry
2006-08-16  7:37   ` Alexey I. Froloff
2006-08-16  8:00     ` Afanasov Dmitry [this message]
2006-08-16 10:18       ` [sisyphus] перекодирование в vim с utf8 Alexey I. Froloff
2006-08-16 10:48         ` Afanasov Dmitry
2006-08-16 10:54           ` Alexey I. Froloff
2006-08-16 11:14             ` Afanasov Dmitry
2006-08-16 22:05               ` [sisyphus] [JT] " Michael Shigorin
2006-08-17  6:13                 ` Afanasov Dmitry
2006-08-17  8:55                   ` [sisyphus] coreutils в utf8 Michael Shigorin
2006-08-17 10:14                     ` Afanasov Dmitry
2006-08-17 18:01                       ` Michael Shigorin
2006-08-17  6:14         ` [sisyphus] перекодирование в vim с utf8 Afanasov Dmitry
2006-08-17  7:10           ` Alexey I. Froloff
2006-08-17 10:05             ` Afanasov Dmitry
2006-08-17 10:09               ` Alexey I. Froloff
2006-08-17 10:26                 ` Afanasov Dmitry
2006-08-17 10:46         ` Alexey I. Froloff
2006-08-16  8:36   ` [sisyphus] /etc/sysconfig/keyboard & /etc/sysconfig/consolefont для utf8 локали Afanasov Dmitry
2006-08-16  9:38     ` Afanasov Dmitry
2006-08-16 10:15 ` Afanasov Dmitry
2006-08-17 11:26 ` Afanasov Dmitry

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=200608161200.27700.ender@atrus.ru \
    --to=ender@atrus.ru \
    --cc=AfanasovDmitry@gmail.com \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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