ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sphinx <mail@sphinx.net.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] jpilot-dump
Date: Sat, 13 May 2006 09:32:51 +0400
Message-ID: <20060513093251.57e9164e@localhost.localdomain> (raw)
In-Reply-To: <20060512170438.GA14786@procyon.home>

Fri, 12 May 2006 21:04:38 +0400
Sergey Vlasov <vsu@altlinux.ru> писал:

> On Fri, May 12, 2006 at 06:27:02PM +0400, Sphinx wrote:
> > Подскажите, в какой кодировке jpilot-dump выдаёт информацию:
> > 
> > $ jpilot-dump -T | grep ^0\,.*05
> > 0,2,0,2006/05/14,"ц░ц╔ц╦ц╗ц╡ц╪ ц╫ц╙ц╖ц═ц╛ц╔ц╜ц═ц╤ц╗ц╝ц╜ц╜ц╩ц╔
> > ц╖ц═ц╓ц═ц╥ц╗ ц╞ц╝ цёц╔ц╝ц╛ц╔ц╡ц╟ц╗ц╗"
> 
> Это символы в CP1251, интерпретированные как ISO8859-1 и в таком виде
> закодированные в UTF-8.  Т.е., декодировать это можно с помощью
> 
> 	iconv -f UTF-8 -t ISO8859-1 | iconv -f CP1251 -t KOI8-R
> 
> (на последнем шаге вместо KOI8-R можно подставить другую кодировку, в
> которой требуется получить результат).
> 
> Если перекодировкой в UTF-8 занимается jpilot-dump, он это делает
> неправильно (видимо, там предполагается, что в базе лежит ISO8859-1).

Большое спасибо, проблема решена.

--
[ Sphinx ]
[ mailto:mail@sphinx.net.ru ]
[ http://sphinx.net.ru ]
[ JID Sphinx@jabber.corbina.ru ]
[ ICQ 3835333 ]
[ Powered by ALT Linux Sisyphus (20060401) ]


      reply	other threads:[~2006-05-13  5:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-12 14:27 Sphinx
2006-05-12 15:22 ` Pavlov Konstantin
2006-05-12 15:28   ` Sphinx
2006-05-12 15:40     ` Pavlov Konstantin
2006-05-12 16:19       ` Sphinx
2006-05-12 17:04 ` Sergey Vlasov
2006-05-13  5:32   ` Sphinx [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=20060513093251.57e9164e@localhost.localdomain \
    --to=mail@sphinx.net.ru \
    --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