OK, understood. Thank you.

2009/2/16 Lukas Gebauer <gebyl...@mlp.cz>:
>> 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: gebau...@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
>

------------------------------------------------------------------------------
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

Reply via email to