ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@immo.ru>
To: community@altlinux.ru
Subject: Re: [Comm] База для fortun
Date: Thu, 27 Nov 2003 18:38:52 +0300
Message-ID: <20031127153852.GR6596@inferno.immo> (raw)
In-Reply-To: <20031127171903.77bc42a1.dov@media-link.info>

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

* Oleg Dolgov <dov@media-link.info> [031127 18:26]:
> В какой кодировке должен быть текстовик?
В fortune-mod >= 1.0-ipl33mdk - utf-8

> Набрал я файл для пробы из пары
> фраз, разделенных строкой с "%" как по инструкции. Локаль у меня
> cp-1251. В mc содержимое просматривается нормально, а фортуна выдает
> ???????????????? ?????????? ????????...
> Посмотрел в том-же mc Альтовскую базу фраз, а там
> [...] С_азР_Р_Р_Р_Р_Р_РёР_ С_Р_Р_С_ Р_С_С_С_Р_ Р_Р_Р_Р°С_С_
> Р°Р_С_Р_Р_Р°С_РёР·РёС_Р_Р_Р°Р_Р_С_Р_...		-- mouse in devel@

> и так далее.

> Это что, типа UTF-8? Тогда как перегнать мой текст из cp-1251 в UTF-8?

iconv -f cp1251 -t utf-8 < file.cp1251 > file.utf-8

И strfile натравливать на file.utf-8

-- 
Regards, Sir Raorn.
-------------------
Электричества нет, но мы работаем!
		-- aen in devel@

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

      parent reply	other threads:[~2003-11-27 15:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-26  9:31 Oleg Dolgov
2003-11-26 10:18 ` Alexey I. Froloff
2003-11-27 15:19   ` Oleg Dolgov
2003-11-27 15:29     ` Leonid B. Sysoletin
2003-11-27 15:38     ` Alexey I. Froloff [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=20031127153852.GR6596@inferno.immo \
    --to=raorn@immo.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