Commit 67abdfb
committed
Treat 0x001f as 0x001e
Looking at the MS reference [1], 001E or 001F should be PT_STRING8.
Mapi::Types::DATA seems to ignore this. It sets 001f as PT_UNICODE, and
this sort of maps to the original filter converting to UTF8. I say
sort of, because I'm not sure how how Mapi::Types::DATA and
Mapi::Msg::PropertySTore::ENCODINGS interact.
This change at least makes both the existing and new spec pass ¯\_(ツ)_/¯
[1] https://msdn.microsoft.com/en-us/library/bb147591.aspx1 parent fac10c8 commit 67abdfb
File tree
3 files changed
+10
-1
lines changed- lib/mapi
- test
3 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
38 | 47 | | |
39 | 48 | | |
40 | 49 | | |
| |||
0 commit comments