> I tried to produce an E-Mail with a subject in UTF-8 encoding, but it
> didn't work. However, after adding the "UTF_8" symbol in the function
> InlineCodeEx (File: mimeinln.pas) (see blow for code), it worked as I
> wanted it to. 

Your modification definitively break IdealCharsetCoding function. You 
can set c := UTF_8 instead with same effect. It is because UTF_8 can 
hold any char and IdealCharsetCoding searching for codepage what can 
hold most of used chars.

Better will be to add UTF_8 on end of list (not on begin). In this 
case UTF_8 will be used if not exists other charset what can hold 
100% of used chars in some previous char.

BTW: Why is bad if your subject is encoded by some other ISo 
encoding, if this encoding can hold all your used chars?



-- 
Lukas Gebauer.

E-mail: [EMAIL PROTECTED]
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to