ok
D2009 it is, and the problem seems to be simpler than i thought, all is needed 
is to change the following:
  NonAsciiChar: TSpecials = [#0..#31, #127..#255];
in synacode.pas and that's it, D2009 didnt like the current definition. i hope 
the above will be fixed in SVN.


--
On 31/01/2010 11:34:36, Lukas Gebauer wrote:
>> thank you for your reply, in short, i want to force synapse to encode both
>> subject and sender name as UTF8, what i do is (im using D2009, unicode):
>>
>> Msg2.Header.Subject := HandleProp(txtSubject.Text);
>>
>> the above value is sent to the following function:
>>     function HandleProp(Value: string): string;
>>     begin
>>       SubStrm.Clear;
>>       tmp.Text := Value; <--------the subject in hebrew
>>       tmp.SaveToStream(SubStrm,TEncoding.UTF8);
>>       SubStrm.Position := 0;
>>       Result := Trim(SubStrm.DataString);
>>     end;

>D2009? it can be a problem, because I never test Mimemess and related
>routines in this compiler. (currently are tested socket routines
>only) Very probably is here some default charset conversion what
>destroy your data and made all your problems.

>While I have some time, I try to investigate this problem.

>--
>Lukas Gebauer.

>http://synapse.ararat.cz/ - Synapse Delphi and Kylix TCP/IP Library
>http://geoget.ararat.cz/ - Geocaching solution



>------------------------------------------------------------------------------
>The Planet: dedicated and managed hosting, cloud storage, colocation
>Stay online with enterprise data centers and the best network in the
>business Choose flexible plans and management services without
>long-term contracts Personal 24x7 support from experience hosting
>pros just a phone call away. http://p.sf.net/sfu/theplanet-com
>_______________________________________________
>synalist-public mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/synalist-public
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to