ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Ilis <ilis.krou@gmail.com>
To: "ALT Linux Community general discussions" <community@lists.altlinux.org>
Subject: Re: [Comm] MC и Unicode
Date: Wed, 20 Feb 2008 21:45:12 +0500
Message-ID: <91dc8dbf0802200845m610c1f4cta01ee2018572b6bd@mail.gmail.com> (raw)
In-Reply-To: <200802200931.21692.ashen@nsrz.ru>

20.02.08, Алексей Шенцев<ashen@nsrz.ru> написал(а):
> В сообщении от Wednesday 20 February 2008 09:26:33 Ilis написал(а):
> > В konsole я и смотрел... По Ctrl+T стоит "другая 8-битная"... На выбор
> > юникода нет. Открывал файлы из каталога апача, тот, который
> > предполагает юникод, отображается кракозябрами...
> Какой именно файл? Он идёт с апачем? Если да, то можете его указать?
> Можно просто проверить: в mcedit создать файл и написать в нём всё что угодно
> на русском. Если всё нормально, то utf8 у вас в mc работает.
> И на всякий случай покажите вывод locale.
> --

Извините, что ввёл в заблуждение...
[ilis@altus ~]$ locale
LANG=ru_RU.UTF-8
...

Действительно, по умолчанию правильно просматриваются файлы именно в UTF-8.
Тренировался на этих файлах:
[ilis@altus html]$ ls -1 /var/www/html/*.ru.*
/var/www/html/index.shtml.ru.cp-1251
/var/www/html/index.shtml.ru.cp866
/var/www/html/index.shtml.ru.iso-ru
/var/www/html/index.shtml.ru.koi8-r
/var/www/html/index.shtml.ru.utf8

Кракозябры появились, видимо, в тот момент, когда я пытался посмотреть
файл в кодировке, например, cp-1251, и мне это не удалось (русские
буквы в MC отображаются точками) а попытки его как-то перекодировать
привели к поломке командера (с починкой через Ctrl+L)

В общем, теперь текущее положение вещей меня вполне устраивает,
несмотря на неотображающийся 1251, в крайнем случае через iconv
посмотреть можно...

  reply	other threads:[~2008-02-20 16:45 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-20  4:59 Ilis
2008-02-20  5:12 ` Хихин Руслан
2008-02-20  5:22   ` Ilis
2008-02-20  5:41     ` Хихин Руслан
2008-02-20  5:48       ` Алексей Шенцев
2008-02-20  6:26         ` Ilis
2008-02-20  6:31           ` Алексей Шенцев
2008-02-20 16:45             ` Ilis [this message]
2008-02-20 21:23               ` Michael Shigorin
2008-02-21  9:08                 ` Alexander Volkov
2008-02-21  9:35                   ` Eugene Prokopiev
2008-02-21  9:36                   ` Eugene Prokopiev
2008-02-21 21:06                   ` Michael Shigorin
2008-02-21 21:17                     ` Alexey I. Froloff
2008-02-20 13:16           ` Yura Kalinichenko
2008-02-21 11:39     ` Dmitry Tabunov
2008-02-21 11:43       ` Ilis
2008-02-21 11:43         ` Алексей Шенцев
2008-02-21 12:00           ` Ilis
2008-02-21 12:15             ` Алексей Шенцев
2008-02-22  9:37             ` Dmitry Tabunov
2008-02-20 13:27 ` Michael Shigorin
2008-02-20 16:51   ` Ilis
2008-02-20 18:04     ` Michael Shigorin

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=91dc8dbf0802200845m610c1f4cta01ee2018572b6bd@mail.gmail.com \
    --to=ilis.krou@gmail.com \
    --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