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!

decodeInnerWords cannot handle Lotus Domino Webmail generated subjects

843830Nov 5 2005 — edited Nov 6 2005
Just to illustrate the error

System.setProperty("mail.mime.decodetext.strict","false");
MimeMessage mimeMsg = new MimeMessage(Session.getDefaultInstance(System.getProperties(), null));
mimeMsg.setSubject("Test Webmail=?ISO-8859-1?Q?=FCber_Sphere?=");
String subj = mimeMsg.getSubject();
log.debug(subj);

Various flavors of outlook properly decode it even thoug this subject might well be corrupt.

"Test Webmail=?ISO-8859-1?Q?FCber_Sphere?=" would probably succeed (note, one "=" less).

Any thoughts on this quoted printable encoding?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 4 2005
Added on Nov 5 2005
1 comment
110 views