ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: [sisyphus] I: perl-Unicode-Map, perl-MIME-tools (was: Проблема с amavisd)
Date: Fri, 20 Aug 2004 12:42:06 +0400
Message-ID: <20040820084206.GA6417@solemn.turbinal.org> (raw)
In-Reply-To: <20040820063925.GO2113@solemn.turbinal.org>

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

On Fri, Aug 20, 2004 at 10:39:25AM +0400, Alexey Tourbin wrote:
> Всё понятно.
> LC_CTYPE в рутовой локали левый.
> Запускайте так:
> 
> # LC_CTYPE= service amavisd start

Сделал несколько исправлений, чтобы оно не падало так позорно.

perl-Unicode-Map:
* Fri Aug 20 2004 Alexey Tourbin <at@altlinux> 0.112-alt2
- added koi8-r support

perl-MIME-tools:
* Fri Aug 20 2004 Alexey Tourbin <at@altlinux> 6.200-alt0.2
- alt-default-charset-fallback.patch: fall back to ISO-8859-1 when
  LC_CTYPE charset is unsupported (should fix sympa4, amavisd-new)

Теперь с KOI8-R всё работает, а с другими (неизвестными) кодировками
откатывается на ISO-8859-1:

$ LC_CTYPE=ru_RU.KOI8-R perl -MMIME::Parser -le 'print "OK"'
OK
$ LC_CTYPE=ru_RU.ASDF perl -MMIME::Parser -le 'print "OK"'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_COLLATE = "ru_RU.CP1251",
        LC_CTYPE = "ru_RU.ASDF",
        LC_MESSAGES = "C",
        LC_MONETARY = "ru_RU.CP1251",
        LC_NUMERIC = "ru_RU.CP1251",
        LC_TIME = "C",
        LANG = "C"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
can't create mime-word decoder: unsupported charset "ASDF"
MIME::WordDecoder: falling back to ISO-8859-1 (check LC_CTYPE)
OK
$

( ушло в /incoming/Sisyphus )

> > -- 
> > WBR, Krasavin Andrey

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

  parent reply	other threads:[~2004-08-20  8:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-19 12:50 [sisyphus] Проблема с amavisd Krasavin Andrey
2004-08-19 13:17 ` Mike Lykov
2004-08-19 13:32   ` Віталь Хілько
2004-08-19 13:34   ` Krasavin Andrey
2004-08-20  5:28     ` [sisyphus] " Alexey Tourbin
2004-08-20  5:43       ` Krasavin Andrey
2004-08-20  5:49         ` Alexey Tourbin
2004-08-20  6:05           ` Krasavin Andrey
2004-08-20  6:39             ` Alexey Tourbin
2004-08-20  6:50               ` Krasavin Andrey
2004-08-20  8:42               ` Alexey Tourbin [this message]
2004-08-20 19:48                 ` [sisyphus] Re: I: perl-Unicode-Map, perl-MIME-tools (was: Проблема с amavisd) Michael Shigorin
2004-08-21  5:25                   ` Alexey Tourbin
2004-08-21  6:14                     ` Maxim Tyurin
2004-08-21  6:36                       ` Alexey Tourbin
2004-08-21  9:15                         ` 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=20040820084206.GA6417@solemn.turbinal.org \
    --to=at@altlinux.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git