At 10.19 -0700 2008-04-04, Jonathan Lundell wrote:
>I have messages (spam reports) in Mail that I'd like to process in BBEdit for
>easier viewing. When I display and copy the raw message, though, it's
>QP-encoded (per example below). Anybody have a QP-decoding script handy?
>
>> <td align=3Dright style=3D"padding-right:0.8em;">Apr 4, 12:28 pm</td>
>> <td>=D0=91=D1=83=D0=BA=D0=BB=D0=B8=D0=BD =D0=AF=D0=BA=D0=BE=D0=B2 <b=
>>[EMAIL PROTECTED]></td>
A simple approach is to replace =\r with nothing to unwrap the soft wraps, and
=([0-9A-F]{2}) with &#x\1; to create hex html entities. Then Markup ->
Utilities -> Translate html to text.
--
Johan Sölve [FSA Member, Lasso Partner]
Web Application/Lasso/FileMaker Developer
MONTANIA SOFTWARE & SOLUTIONS
http://www.montania.se mailto:[EMAIL PROTECTED]
(spam-safe email address, replace '-' with 'a')
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>