Confused with encodings

Giganews Newsgroups
Subject: Confused with encodings
Posted by:  Dmitry_Malutin (xaraxt…@tut.by)
Date: Sat, 12 May 2007

I set charset property of idSMTP component to windows-1251 and send the message.

Then I get that e-mail with properly encoded body and WRONG encoded subject.
Subject is KOI-8, body is Windows-1251.

Subject: 1 =?KOI8-R?B?6uDw8ujt7uog7vI6?=
Content-Type: multipart/mixed; charset="charset="windows-1251"";

Is it Indy issue, or SMTP server, and how work it around?

regards, Dmitry

Replies