Doddy
Broken In
Hi,
I am using Java mail 1.3.1 in JDK 1.2
When I read email attachments, I get attachment names like below:
"=?windows-1254?Q?myfile=2Ejpg?=" for "myfile.jpg"
I use javax.mail.internet.MimeBodyPart's getFileName method.
How can I remove this encoding, I tried java.net.URLDecoder
but doesn't work?
I am using Java mail 1.3.1 in JDK 1.2
When I read email attachments, I get attachment names like below:
"=?windows-1254?Q?myfile=2Ejpg?=" for "myfile.jpg"
I use javax.mail.internet.MimeBodyPart's getFileName method.
How can I remove this encoding, I tried java.net.URLDecoder
but doesn't work?