how to convert the part filename to gb2312?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   jomson_wang
Posted On:   Tuesday, December 25, 2001 03:15 AM

I can't get the correct filename of Chinese when receiving mail .All the filename is like "???????".

I use the following code to convert:
str=part.getFilename();
MimeUtility.decodeWord(str);
but a Exception is printed as
javax.mail.internet.ParseException

About | Sitemap | Contact