Domanda

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?

È stato utile?

Soluzione

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.

Altri suggerimenti

The Apache Commons Codec library also has support for quoted printable and is available under the more permissive apache license.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top