You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the plain text contains i. e. a "ä" the output character becomes cyrillic "д" independend from the chosen output format "--text" or "--text --format json".
In comparison an extract from a eml-File that get's parsed correctly:
Hi,
I can confirm the bug on Linux, on Windows it works fine. Looks like the return value of the method Message.get_payload from the python library is based on the OS.
Input Dies ist ein dämlicher Test.
Output on Windows: b'Dies ist ein d\xc3\xa4mlicher Test.'
Output on Linux: b'Dies ist ein d\xe4mlicher Test.'
I added a unit test to test this behaviour on Ubuntu and Windows: #18
To find and fix the root cause one needs to analyze the Message.get_payload method from the python library.
Hi,
I face a issue when parsing outgoing mails:
Extract from the eml-File (save-as via Thunderbird):
"...
This is a cryptographically signed message in MIME format.
--------------ms090908070501060903060609
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
ä
..."
If the plain text contains i. e. a "ä" the output character becomes cyrillic "д" independend from the chosen output format "--text" or "--text --format json".
In comparison an extract from a eml-File that get's parsed correctly:
"...
--eTqZtiOboXMORarM2jeks2PNUJpOw=_O7X
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
...
"
Any idea?
I add a test-file.
Regards,
MrChang.
test.zip
The text was updated successfully, but these errors were encountered: