Type of codepage (encoding of message) KOI8-R: How to ?

Giganews Newsgroups
Subject: Type of codepage (encoding of message) KOI8-R: How to ?
Posted by:  Eugene Badertdinov (in…@softgoup.ru)
Date: Wed, 9 Jun 2004

Hello all !

I'm newbee in Indy.

I'use Delphi 7 and Indy 9. I can find in examples how to send e-mail form my
application but I have a problem with encoding
of message. The matter is Indy use codepage ISO-8859 but ussualy we use
windows-1251 (in Russia)

Please explain me how to change code page of my e-mail ?

This is example of e-mail:

Return-path: <adm…@pars.ru>
Envelope-to: adm…@pars.ru
Delivery-date: Wed, 09 Jun 2004 15:21:24 +0300
Received: from [195.58.18.108] (helo=mng4)
        by c.hos.ru with esmtp (Exim 4.34)
        id 1BY256-0004Aa-AU
        for adm…@pars.ru; Wed, 09 Jun 2004 15:21:24 +0300
From: adm…@pars.ru
Subject: TEST =?ISO-8859-1?Q?=D2=C5=D1=D2?=
To: adm…@virusnet.ru
Content-Type: text/plain
Reply-To: adm…@pars.ru
Date: Wed, 9 Jun 2004 18:21:14 +0600
X-Priority: 3
X-Library: Indy 9.00.10

üÔÏ ÔÅÓÔÏ×ÏÅ ÐÉÓØÍÏ.

---------------------

Thanks a lot. Eugene.

Replies