Return-path: Envelope-to: amos@emailaya.com Delivery-date: Mon, 16 Feb 2009 18:47:35 +0200 Received: from lists.sourceforge.net ([216.34.181.88]) by ofercom2.interhost.co.il with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1LZ6d5-0000Rq-0A for amos@emailaya.com; Mon, 16 Feb 2009 18:47:35 +0200 Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by h25xhf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1LZ6cF-0007oz-9l; Mon, 16 Feb 2009 16:46:43 +0000 Received: from sfi-mx-3.v28.ch3.sourceforge.com ([172.29.28.123] helo=mx.sourceforge.net) by h25xhf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1LZ6cD-0007oi-CP for synalist-public@lists.sourceforge.net; Mon, 16 Feb 2009 16:46:41 +0000 Received-SPF: pass (3b2kzd1.ch3.sourceforge.com: domain of mlp.cz designates 195.113.180.196 as permitted sender) client-ip=195.113.180.196; envelope-from=gebylist@mlp.cz; helo=ms.mlp.cz; Received: from ms.mlp.cz ([195.113.180.196]) by 3b2kzd1.ch3.sourceforge.com with esmtp (Exim 4.69) id 1LZ6c9-0004aA-Tp for synalist-public@lists.sourceforge.net; Mon, 16 Feb 2009 16:46:41 +0000 Received: from Spooler by ms.mlp.cz (Mercury/32 v4.61) ID MO00136D; 16 Feb 2009 17:46:38 +0100 Received: from spooler by mlp.cz (Mercury/32 v4.61); 16 Feb 2009 17:46:31 +0100 X-VIRWALL: Passed through antiviral test by ClamWall 1.3.0.94 on mlp.cz (59) Received: from [172.16.16.2] (85.71.72.9) by mlp.cz (Mercury/32 v4.61) with ESMTP ID MG00136C; 16 Feb 2009 17:46:30 +0100 From: "Lukas Gebauer" To: Ararat Synapse Date: Mon, 16 Feb 2009 17:46:33 +0100 MIME-Version: 1.0 Message-ID: <49999869.15978.10D737@gebylist.mlp.cz> Priority: normal In-reply-to: <3f96b6690902160836t3797369etf86409efb888315c@mail.gmail.com> References: <3f96b6690902160619r27bb323fr50f14bbd369a3b31@mail.gmail.com>, <49998766.25281.567D913@gebylist.mlp.cz>, <3f96b6690902160836t3797369etf86409efb888315c@mail.gmail.com> X-mailer: Pegasus Mail for Windows (4.50 PB1) Content-description: Mail message body X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1LZ6c9-0004aA-Tp Subject: Re: [Synalist] TMimeMess and Greek characters X-BeenThere: synalist-public@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: Ararat Synapse List-Id: Ararat Synapse List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: synalist-public-bounces@lists.sourceforge.net > Thanks Lukas, but you kind of lost me there. > > I'm using BCB 2006 and the data is stored as regular ANSI into a > StringList. Can I then use > > pMM->AddPartTextEx( pStringList, NULL, UTF_8, true, ME_8BIT ); Well, you must use correct encoding... If you use: pMM->AddPartTextEx( pStringList, NULL, UTF_8, false, ME_8BIT ); then synapse convert your ANSI data in pStringList to UTF-8 code. But this can handle only chars what exists in used system ANSI charset. if you use: pMM->AddPartTextEx( pStringList, NULL, UTF_8, true, ME_8BIT ); then Synapse not do any charset conevrsion and put data in pStringList as is. So, you must convert data to desired codepage by yourself before. In this case, you must have data encoded as UTF-8. Otherwise mail cannot be decoded properly. -- Lukas Gebauer. E-mail: gebauerl@mlp.cz WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP Library ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public