Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Decode attachment file name RFC 2231

843834Jun 16 2009 — edited Jun 24 2009
Hello,
according to the [RFC 2231|http://tools.ietf.org/html/rfc2231] , the headers are encoded to something like
From: =?US-ASCII*EN?Q?Keith_Moore?= <moore@cs.utk.edu>
How can decode such a string, in Java ? I've found only [this implementation|http://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-javamail_1.4_spec-1.5/src/main/java/org/apache/geronimo/mail/util/RFC2231Encoder.java] from Apache Geronimo. Are there other implementations ?

Thanks,
T.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 22 2009
Added on Jun 16 2009
2 comments
372 views