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
Consider "Wohnfl=C3=A4che". Here "=C3=A4" is one unicode charachter.
However the decode function in module Codec-MIME-QuotedPrintable puts them in two different characters of String (unicode String).
Then in processBody in module Codec-MIME-Parse we have
T.pack $ decodeBody (T.unpack v) $ T.unpack body
which makes the corruption complete.
This is a nasty error which hits normal Mime emails contains html (which are naturally encoded in UTF8).
The text was updated successfully, but these errors were encountered:
habbler
changed the title
QP decoding broken
QuotedPrintable decoding broken
Aug 5, 2015
Consider "Wohnfl=C3=A4che". Here "=C3=A4" is one unicode charachter.
However the decode function in module Codec-MIME-QuotedPrintable puts them in two different characters of String (unicode String).
Then in processBody in module Codec-MIME-Parse we have
T.pack $ decodeBody (T.unpack v) $ T.unpack body
which makes the corruption complete.
This is a nasty error which hits normal Mime emails contains html (which are naturally encoded in UTF8).
The text was updated successfully, but these errors were encountered: