hi
im still using 37 since 38 is still beta and im waiting for its final release
so i dont have the idealcharset change lukas did
but in this build, the only way of getting unicode subject to work is by:
Msg2.Header.Subject := UTF8Encode(txtSubject.Text);
and in InlineCodeEx function (mimeinln unit)
Result := InlineEncode(Value, UTF_8, UTF_8); //InlineEncode(Value, FromCP,
c);
(both from and to are UTF8, no mistake)
all other options were bad
default FromCP was cp1255 (according to my locale)
and c (after idealCharsetCoding function) was iso_8859_1 (the subject included
greek)
or c was iso_8859_8 when subject included hebrew (remember i used utf8encode)
but both failed.
the only way that worked in sending and receiving was using UTF_8 for both from
and to
i know in b38 i can set a new default for idealcharset (which is used for
fromcp) but not for c (which is my locale) but still it seems not to work for
unicode as i wrote above.
FYI-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public