how to decode them?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   xiaojun_yu
Posted On:   Tuesday, March 19, 2002 11:01 PM

I got some strings when I used javamail api: Message.getSubject() such as :

1."=?gb2312?B?YWYmXiUkJT8/PyAgPz8=?="
2."=?GB2312?Q?Re: Re: =BC=B8=B8=F6=CE=CA=CC=E2?=";

then I use javax.mail.internet.MimeUtility.decodeText()
to get the exact chinese string but I failed. Please help me with that.Thanks!

Re: how to decode them?

Posted By:   Jeff_Gay  
Posted On:   Friday, March 29, 2002 06:32 PM

You need to decode all the different parts; addresses, filenames, text, etc. It's not trivial.


Take a look at ICEMail at www.icemail.org, and MessageUtilities.java.

About | Sitemap | Contact