ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Grigory Batalov" <grisxa@mail.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] smtp headers encoding
Date: Wed Apr 17 08:11:02 2002
Message-ID: <20020417081139.38d2649c.grisxa@mail.ru> (raw)
In-Reply-To: <1058342896.20020416175928@chemsell.yaroslavl.ru>

On Tue, 16 Apr 2002 17:59:28 +0400
"Lenya L. Khachaturov" <lenya@chemsell.yaroslavl.ru> wrote:

> Slightly offtopic, но в сетке ничего не нашел на эту тему.
> От сервера приходят письма, тело письма в cp1251, а хедеры
> в koi8-r (во From: и To:). Если в почтовом клиенте переключить
> кодировку на koi8-r, увидим нормальный текст в хедерах и
> соответственно перекодированное тело письма.
> Можно ли в заголовках письма указать разные кодировки для
> хедеров и тела письма?

  Использовать MIME: =?KOI8-R?B?0NLJzcXSINrBx8/Mz9fLwQ==?=

> Сервер формирующий письмо самописный (это движок веб-сайта),
> так что поправить можно, знать бы где.

  На перле есть пакет MIME::Base64.

-- 
 Баталов Григорий,
 системный администратор
 АО "Ковдорский ГОК"




  reply	other threads:[~2002-04-17  8:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-16 19:26 Lenya L. Khachaturov
2002-04-17  8:11 ` Grigory Batalov [this message]
2002-04-20  1:01 ` [mdk-re] " Mikhail Zabaluev

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=20020417081139.38d2649c.grisxa@mail.ru \
    --to=grisxa@mail.ru \
    --cc=mandrake-russian@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