javadecodequoted-printable

Decoding a "quoted-printable" string in Java


I would like to use javax.mail.internet.MimeUtility to decode a "quoted-printable" string. I do not need any other interface to a mail server. What's the best way to get at that class (and its dependencies)? Alternatively, is there a better way to parse "quoted-printable" strings?


Solution

  • I don't know of anything in the standard J2SE API for this. However, a quick Google search turns up this decoder code. I can't vouch for it, but it looks reasonable. You can probably find others yourself.