From: Mikhail Ramendik <mr@ramendik.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Автораспознавание кодировки?
Date: Tue, 09 Nov 2004 02:46:56 +0300
Message-ID: <41900570.8000206@ramendik.ru> (raw)
In-Reply-To: <418FD74A.4030600@users.sf.net>
Alexey Rusakov wrote:
> В Сизифе, по крайней мере, лежит enca, которая умеет определять
> кодировку произвольного файла, в том числе из stdin. Из нее и sed
> нетрудно сделать скрипт, делающий требуемое.
Ну, писать на sed распаковку произвольного mime сообщения я пожалуй что
и не буду ;)
А вообще - огромное спасибо. Enca явно решает вопрос вместе с
каким-нибудь стандартным парсером mime (я беру тот что в Питоне).
Правда, прикрутить pyenca пока не удалось, написал автору; но если так и
не получится - так через stdin/stdout тоже неплохо.
С уважением, Михаил Рамендик
next prev parent reply other threads:[~2004-11-08 23:46 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-08 20:22 Mikhail Ramendik
2004-11-08 20:30 ` Alexey Rusakov
2004-11-08 23:46 ` Mikhail Ramendik [this message]
2004-11-09 20:04 ` Денис Смирнов
2004-11-12 5:34 ` Alexey V. Novikov
2004-11-12 16:20 ` Денис Смирнов
2004-11-12 22:33 ` Andrey Orlov
2004-11-13 15:12 ` Денис Смирнов
2004-11-13 21:04 ` Денис Смирнов
2004-11-13 23:35 ` Andrey Orlov
2004-11-15 10:01 ` Anton V. Boyarshinov
2004-11-16 18:02 ` Денис Смирнов
2004-11-16 19:53 ` Andrey Orlov
2004-11-16 20:15 ` Денис Смирнов
2004-11-16 21:34 ` Andrey Orlov
2004-11-17 18:45 ` dm
2004-11-18 0:08 ` Andrey Orlov
2004-11-12 22:30 ` Andrey Orlov
2004-11-13 15:16 ` Денис Смирнов
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=41900570.8000206@ramendik.ru \
--to=mr@ramendik.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