Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Attachments file name in ascii characters
#1
Reading the attachments of an OE received e-mail using MailBee routines, I obtain the file name attachment (.Filename) as

Quote:UTF-8''%CE%9A%CE%9F%CE%A5%CE%9A%CE%99%CE%9F%CE%A3%20%CE%A5%CE

I need some help in converting this string into ascii characters.

Many thanks in advance.
#2
Macro Macro2522
Code:
Copy      Help
if(!_unicode) end "Please check Options -> Unicode"
str s="%CE%9A%CE%9F%CE%A5%CE%9A%CE%99%CE%9F%CE%A3%20%CE%A5%CE"
s.escape(8)
out s
#3
Many thanks, your help is invaluable.


Forum Jump:


Users browsing this thread: 1 Guest(s)