basically it's an easy ASC value check...or am I missing something?
Dont know if there is MBS function for this but if you write your own 
function you'd need to loop through your string and check the ASC value for 
each character in the string according to this:

http://en.wikipedia.org/wiki/Quoted-printable

Heinz

----- Original Message ----- 
From: "Beatrix Willius" <[email protected]>
To: "MBS REALbasic Plugin List" <[email protected]>
Sent: Sunday, May 15, 2011 5:12 PM
Subject: [MBS] Detecting Quoted Printable


Hi Christian,

do you have an idea how to detect if a string is quoted printable encoded?

I have a mail to parse, which says it is quoted printable, but it isn't and 
so the html text is mangled. I tried with a simple check if "=20" or "=" + 
endofline are in the string, but this doesn't work for all my test mails.

Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: archive, clean and search email
http://www.beatrixwillius.de
Fractals, 3d landscapes etc.

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to