False encoding of iOS emails #67

Open
opened 2019-06-10 09:49:29 +00:00 by b3yond · 2 comments

Author: @J04n5mith Posted at: 03.12.2018 16:19

If you send an email to the bot from an iOS device it encodes false.

This text:
4 kontis (2 m mit Mütze, 1 m mit Bart und 1 w älter) am Rathenauplatz Richtung Bahnhof.

Encodes to this:
4 kontis (2 m mit M=C3=BCtze, 1 m mit Bart und 1 w =C3=A4lter) am Rathenaupl=
atz Richtung Bahnhof.=20

Author: @J04n5mith Posted at: 03.12.2018 16:19 If you send an email to the bot from an iOS device it encodes false. This text: 4 kontis (2 m mit Mütze, 1 m mit Bart und 1 w älter) am Rathenauplatz Richtung Bahnhof. Encodes to this: 4 kontis (2 m mit M=C3=BCtze, 1 m mit Bart und 1 w =C3=A4lter) am Rathenaupl= atz Richtung Bahnhof.=20
b3yond added the
good first issue
bug
labels 2019-06-10 09:49:29 +00:00
Poster
Owner

Author: @git-sid Posted at: 04.12.2018 10:22

Looks like a strange ASCII representation of UTF-8 encoding, where % is sometimes (?) replaced with =.
Might be related to #27

Author: @git-sid Posted at: 04.12.2018 10:22 Looks like a strange ASCII representation of UTF-8 encoding, where `%` is sometimes (?) replaced with `=`. Might be related to #27
Poster
Owner

Author: @git-sid Posted at: 08.01.2019 09:29

I've found what it is!
It's the wrong encoding! Or rather it's the quoted printable version of the utf-8 string.
we could implement something like this to fix future encoding errors in email reports.

Author: @git-sid Posted at: 08.01.2019 09:29 I've found what it is! It's the wrong encoding! Or rather it's the [quoted printable](https://en.wikipedia.org/wiki/Quoted-printable) version of the utf-8 string. we could implement something like [this](https://stackoverflow.com/questions/43824650/encoding-issue-decode-quoted-printable-string-in-python/43833186#43833186) to fix future encoding errors in email reports.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: b3yond/ticketfrei#67
There is no content yet.