IdealCharsetCoding function

function IdealCharsetCoding(Const Value: string; CharFrom: TMimeChar; CharTo: TMimeSetChar): TMimeChar;

Unit
SynaChar

Description
Automatically selects the best target coding from CharTo (set of TMimeChar).


See also:
TMimeChar