Evolution and non ASCII storage
I have an evolution filter that puts certain emails into a sub folder. Background programs then watch the associated folder
( /home/Name/.local/share/evolution/mail/local/.Queue/cur )
and when an email arrives they process the information contained in the emails. You have to decode the stored email but it is normally pretty easy as most of the header is normally in plain ASCII (attachments are base64 encoded first). The problem is the subject line. Sometimes this is plain ASCII like:
Subject: NISTXRAYREQ Thorium -pscaled
but sometimes it's in this form:
or this form:
Dependent on the client that sent the email. Now I am guessing these are some sort of alternative to ASCII used to cope with extended character sets. Does anyone know if this is right and ideally how to convert these lines into ASCII?
O and I do know you can call a program from evolution. However I do quite a bit of processing on the email contents sometimes using bits from multiple emails so it's a lot easier to do this all outside evolution.
Last edited by kaspar_silas; April 12th, 2013 at 09:57 AM.
Reason: It's now solved
I suffer from web impatience. You have 5 seconds to amaze me.