From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux general discussion list <community@altlinux.org>
Subject: Re: [Comm] iconv: illegal input sequence at position 1442
Date: Thu, 25 Aug 2005 13:14:24 +0400
Message-ID: <20050825091424.GA13893@basalt.office.altlinux.org> (raw)
In-Reply-To: <20050824111255.0f47c7ef.pvs@vdnet.ru>
[-- Attachment #1: Type: text/plain, Size: 706 bytes --]
On Wed, Aug 24, 2005 at 11:12:55AM +0400, Pavel Shurubura wrote:
[...]
> > > При конвертировании из cp1251 в koi8-r очень часто
> > > встречается такая ситуация: iconv напарывается на символ,
> > > который она не может конвертировать и вываливается с
> > > сообщением:
> > >
> > > iconv: illegal input sequence at position 1442
> >
> > iconv --help, опция -r
> > iconv -r #
> > заменит неправильные символы на #
>
> Ух-ты ! Точно. Жаль только что в man iconv ничего не сказано.
> И на debian sarge этой опции нет. Там iconv версии 2.3.2
Более стандартной является опция -c:
$ iconv --help |grep -we -c
-c omit invalid characters from output
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2005-08-25 9:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-24 5:10 Pavel Shurubura
2005-08-24 6:51 ` [Comm] " Vitaly Ostanin
2005-08-24 6:57 ` [Comm] " Ilya V. Pobelov
2005-08-24 7:12 ` Pavel Shurubura
2005-08-24 15:29 ` Andrey Rahmatullin
2005-08-25 9:14 ` Dmitry V. Levin [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=20050825091424.GA13893@basalt.office.altlinux.org \
--to=ldv@altlinux.org \
--cc=community@altlinux.org \
--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