-
-
Notifications
You must be signed in to change notification settings - Fork 274
When reading .msg files the RTF converted to HTML is garbled in some cases where the appropriate charset is not detected properly #526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for contacting, but there's not much for me to go on, here (your image won't load, either). Please also try with the latest version, since 6.6.1 is rather old and since then there have been developments in the underlying Outlook support. If that still fails for you, you could really help me help you by providing a problematic .msg that demonstrates this. |
The msg.zip contains two msg files. After the program is parsed, garbled.msg is garbled in Chinese, while un_garbled.msg is not garbled. |
I upgraded to 8.10.1, but the Chinese characters are still garbled. The JDK version is 11. The springboot version is 2.7.18. |
Ok, I've looked into it and determined this is would require a fix in rtf-to-html, which is used in outlook-message-parser, which is used by Simple Java Mail. Please refer to bbottema/rtf-to-html#13. |
…s a charset detection issue when converting RTF content to HTML
Fix released in 8.11.0. |
Using simple Java mail to read the exported msg file from Outlook, but the HTML data in it is garbled in Chinese. The version of simple Java mail used is 6.6.1.
![Uploading 1.png…]()
The text was updated successfully, but these errors were encountered: