> if FSubject <> '' then > Value.Insert(0, 'Subject: ' + InlineCodeEx(FSubject, FCharsetCode)); > > InlineCodeEx will force to change the charsetcode to IdealCharsetCoding no > matter what FCharsetCode is inputted. Why is that? Now, the coding of the > subject is not shown properly. How can I fix this problem?
See what InlineCodeEx doing. It doing charset conversion from FCharsetCode to ideal charset used for encoding into message headers. Function IdealCharsetCoding searching best target encoding, what have best match from given set of charsets. This set can be modified by IdealCharsets variable. Note: for proper work of EastAsian encoding you must have iconv.dll! -- Lukas Gebauer. E-mail: [EMAIL PROTECTED] WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP Library ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
