Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Use qprint to encode and decode quoted-printable mail UNIX
From time to time I get QP-encoded e-mails, that is, in quoted-printable encoded format. This is mostly used to encode non-Latin language (with high-bit) into 7-bit characters. I know it is less and less used nowadays but, well, people still use it. Since someone still use it, we need to decode it.

Entourage does not decode QP-encoded message quite well, especially when the sender mistakenly assign an incorrect language setting. And it seems that StuffIt Expander can't decode QP-encoded text (however it does decode MIME message very well). After a quick Google, I found a UNIX command line tool that is easy enough to solve my problem.

After downloading QPrint, uncompress it and follow three easy steps listed in the INSTALL document: configure, make, and make install. Of course, you need the Developer Tools installed. You don't need to "make check" and "make wringer" since they'll throw some error messages but cause no harm.

In the Terminal, type qprint -d encoded_file > output_file (assuming qprint is in your search path) to decode a qp-encoded file. If you're interested in taking full advantage of this little thing, the installed UNIX doc and its website have full documentation on the available arguments. Now if anyone wants to make a quite Aqua wrapper for it? :-)

    •    
  • Currently 1.80 / 5
  You rated: 2 / 5 (5 votes cast)
 
[5,495 views]  

Use qprint to encode and decode quoted-printable mail | 2 comments | Create New Account
Click here to return to the 'Use qprint to encode and decode quoted-printable mail' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use qprint to encode and decode quoted-printable mail
Authored by: Spartacus on Mar 26, '03 12:17:53PM

> I know it is less and less used nowadays but, well, people still use it.

Less and less used? Come on, it's the only decent way of writing 8bit characters in email. And yes, people still use it, because not everybody writes in English, and even though most (american) software developers don't know it, French and German use 8bit characters like or ü.



[ Reply to This | # ]
Use qprint to encode and decode quoted-printable mail
Authored by: junehao on Mar 26, '03 09:13:24PM

> Come on, it's the only decent way of writing 8bit characters in email.

One of the decent ways, I would say. When using rich text, no matter it is 8bit or not, some e-mail program encode it using MIME attachment. Some send 8bit characters without encoding them -- of course they might be truncated on the way.

---
-junehao



[ Reply to This | # ]