JavaMail: File extension omitted by invoking part.getFileName
posted 9 years ago
Hi everyone I have a question: When I invoke the getFileName()-method on a part and the fileName contains ISO 8859-1 character set, then it might be that the file extension is omitted, when the fileName contains whitespaces. Example: Filename: Comments f�r test.doc Result of part.getFileName():
Filename: Commentsf�rtest.doc Result of part.getFileName():
Is this a bug? Do you know a workaround to get the filename with the file extension?