03-06-2017, 08:08 PM
I am using Outlook Express to process my e-mails. I store in strings e-mail attachment filenames using
In most cases it works perfectly. Nevertheless there exist some cases, when the attachment name contains native language characters, that I envisage minor problems. For example, string sfiln above gets :
"ΚΑΤΑΛΟΓΟΣ ΕΡΓΑΣΙΩΝ-ΥΠΟΘΕΣΕΩΝ_Β=?UTF-8?B?zpPOn86dzqTOls6"
In such cases I use
to decrypt the corresponding part of the string.
I wonder whether exists another, more elegant way, to get the attachment string.
Many thanks in advance.
Quote:str sfiln=elmatt.Filename
In most cases it works perfectly. Nevertheless there exist some cases, when the attachment name contains native language characters, that I envisage minor problems. For example, string sfiln above gets :
"ΚΑΤΑΛΟΓΟΣ ΕΡΓΑΣΙΩΝ-ΥΠΟΘΕΣΕΩΝ_Β=?UTF-8?B?zpPOn86dzqTOls6"
In such cases I use
Quote:decrypt(4)
to decrypt the corresponding part of the string.
I wonder whether exists another, more elegant way, to get the attachment string.
Many thanks in advance.