Indy 9
|
function DecodeHeader(Header: string): string;
DecodeHeader checks Header for the ISO character set encoding marker ("=?ISO") to determine when character set encoding has been applied to Header. DecodeHeader also look fofr the content transfer encoding markers for Base64 ("?B") or Quoted-Printable ("?Q") encoding. DecodeHeader then decodes all encoded characters until the final "?=" marker is located.
DecodeHeader will remove any Null strings (Decimal 0) embedded in the message header.