-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Decode byte strings in .msg files correctly
Non-Unicode strings in .msg files are encoded using an encoding that is defined in a separate message property (PR_INTERNET_CPID for the body, PR_MESSAGE_CODEPAGE for everything else). The specification says that this property is required, however some real world .msg files do not have it. This is why the decoding code has a fallback to "cp1252" (Windows code page 1252, "Western Europe"). fixes #24
- Loading branch information
1 parent
6f1a6e4
commit 674896d
Showing
1 changed file
with
71 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters