Closed mikesmallhelp closed 2 years ago
I'm using the org.simplejavamail:outlook-message-parser library:
OutlookMessageParser outlookMessageParser = new OutlookMessageParser(); OutlookMessage outlookMessage = outlookMessageParser.parseMsg("myMessage.msg"); System.out.println(outlookMessage.getBodyText());
and output is:
Testiviestin sis?lt?
The original Outlook message contains this body: "Testiviestin sisältö".
Can the org.simplejavamail:outlook-message-parser library handle the UTF-8 characters?
I think this problem was causing about the logger. It couldn't handle UTF-8 characters. Above example was simplified, it used custom logger.
I'm using the org.simplejavamail:outlook-message-parser library:
and output is:
Testiviestin sis?lt?
The original Outlook message contains this body: "Testiviestin sisältö".
Can the org.simplejavamail:outlook-message-parser library handle the UTF-8 characters?