Turkis Character Problem in TIdMessage Subject Line...

Giganews Newsgroups
Subject: Turkis Character Problem in TIdMessage Subject Line...
Posted by:  Bahtiyar KARANLIK (karanl…@boun.edu.tr)
Date: Tue, 30 Mar 2004

Hi All,

I have a problem with the character sets of the email subjects. That is when
I have a Turkish charater in the subject line, the characters do not display
correctly. I use the code below to set the character encoding:

    aMsg.Clear;
    aMsg.Encoding := meMIME;
    aMsg.CharSet := 'ISO-8859-9';

The Turkish characters in the message body are displayed correctly. Any
ideas are welcomed..
Thanks in advance,

Bahtiyar KARANLIK

Replies