* [Comm] Проблема с кодировкой в полученном письме:
@ 2006-09-28 9:55 Yakov Hrebtov
2006-09-28 17:39 ` Fr. Br. George
0 siblings, 1 reply; 2+ messages in thread
From: Yakov Hrebtov @ 2006-09-28 9:55 UTC (permalink / raw)
To: ALT Linux Community
Привет.
Получил письмо. Никак не могу прочитать русский текст в нем. Русский текст в теле письма
выглядит следующим образом:
=12=04 D=045=042=04@=040=04;=045=04 20063=04 =12=04K=04, =
A=04>=042=04<=045=04A=04B=04=3D=04>=04 A=04 =
=045=04C=04B=04>=042=04K=04<=04 =10=04. =
>=04?=045=04@=048=04@=04>=042=040=04;=048=04 <=04>=04N=04 =
Заголовки в письме кастательно контента есть следующие:
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/related;
type="multipart/alternative";
boundary="----_=_NextPart_001_01C6E2D9.460CE9EF"
X-MimeOLE: Produced By Microsoft Exchange V6.5
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
Хотелось бы каким-то образом восстановить русский текст данного письма.
Подскажите как действовать.
Спасибо!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] Проблема с кодировкой в полученном письме:
2006-09-28 9:55 [Comm] Проблема с кодировкой в полученном письме: Yakov Hrebtov
@ 2006-09-28 17:39 ` Fr. Br. George
0 siblings, 0 replies; 2+ messages in thread
From: Fr. Br. George @ 2006-09-28 17:39 UTC (permalink / raw)
To: ALT Linux Community
On Thu, Sep 28, 2006 at 03:55:14PM +0600, Yakov Hrebtov wrote:
> Привет.
>
> Получил письмо. Никак не могу прочитать русский текст в нем. Русский текст в теле письма
> выглядит следующим образом:
>
> =12=04 D=045=042=04@=040=04;=045=04 20063=04 =12=04K=04, =
> A=04>=042=04<=045=04A=04B=04=3D=04>=04 A=04 =
> =045=04C=04B=04>=042=04K=04<=04 =10=04. =
> >=04?=045=04@=048=04@=04>=042=040=04;=048=04 <=04>=04N=04 =
Это quoted printable. С quoted printable и мыцросовт есть одна
особенность: то ли аутглюк, то ли ихсченьдж не стесняется вставлять
переводы строки где попало, после чего стандартный quoted printable
превращается в, э-э-э, особенный. А это вдобавок -- qp, полученный из
юникода, (заметили, что там вечно 04?). Уроды.
> Хотелось бы каким-то образом восстановить русский текст данного
> письма. Подскажите как действовать.
Если вам не страшно -- перешлите письмо (вложением, не изменяя) лично
мне, уж я как-нибудь:
| >>> print quopri.decodestring("=04>=042=04<=045=04A=04B=04=3D=04>").decode("utf_16_be")
| овместно
:)
А вообще-то -- может, кто знает универсальный метод?
--
Георгий Курячий (aka Fr. Br. George)
Руководитель образовательных проектов ALT Linux
mailto : george at altlinux_ru
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-28 17:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-28 9:55 [Comm] Проблема с кодировкой в полученном письме: Yakov Hrebtov
2006-09-28 17:39 ` Fr. Br. George
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