Change .elm Subject with Hebrew Characters

by Gonen1 - 3/25/12 4:28 AM

Hello - I save an email with Hebrew subject from Windows live Mail into .eml file.
I need to update the subject with Hebrew characters.

The subject looks as: Subject: =?windows-1255?B?4A==?=

sometimes as: Subject: =?UTF-8?B?15TXkdeg15PXldepINeZ15XXpteQ16og15zXmNeZ15XXnCDXkdeS15zXkdeV16I=?=

Can someone tell me how to parse this strings so I can update the Hebrew characters using an external program ?

Thank