[x] Bugfix (non-breaking change which fixes an issue)
[ ] New component
[ ] Refactoring (no functional changes)
[ ] Documentation-only
What does this implement/fix? Explain your changes.
For parsing PST files, mailbagit now manually adds a utf-8 decode check for plain text bodies, as this seems to work well. Like .html_body, it still tries PidTagInternetCodepage and PidTagMessageCodepagel as first priorities, but then tries utf-8 and finally falls back to chardetect.
Link to issue?
176
[x] Issue closed
[ ] Remain open
Pull Request Checklist
Please check if your PR fulfills the following requirements:
[x] Make sure you are requesting to the develop branch. Don't PR to main!
[ ] This contribution has sufficient documentation
[ ] Tests for the changes have been added
[x] All tests pass
How has this been tested?
Operating System: win10
Python Version: 3.9.12
Licensing
[x] I agree that the Mailbag Project and the University at Albany, SUNY can release this code under the MIT license.
Type of Contribution
What does this implement/fix? Explain your changes.
For parsing PST files, mailbagit now manually adds a
utf-8
decode check for plain text bodies, as this seems to work well. Like.html_body
, it still triesPidTagInternetCodepage
andPidTagMessageCodepage
l as first priorities, but then triesutf-8
and finally falls back tochardetect
.Link to issue?
176
Pull Request Checklist
Please check if your PR fulfills the following requirements:
How has this been tested?
Operating System: win10 Python Version: 3.9.12
Licensing