Commit fae72e5
committed
Rescue from error when converting Mime to String
Rescue from Encoding::CompatibilityError when converting Mapi::Mime to a String.
In some situations the parts can legitimately be different encodings,
but cannot be concatenated given the encoding differences.
In this situation, force the encoding to ASCII-8BIT rather than
erroring.1 parent fac10c8 commit fae72e5
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
111 | 120 | | |
112 | 121 | | |
113 | 122 | | |
| |||
0 commit comments