Skip to content

Incorrectly interpreted mail body #157

@zevv

Description

@zevv

Properly handling different encodings really is a pain in the butt, here is another issue I ran into. This mail body is not interpreted right by sup.

From: [email protected]
To: [email protected]
Subject: Encoding bug
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

This is =91 a test: the first line seems to disappear from the mail body but is
still visible in the thread view.

There are two issues with this:

  • The mail shows up in the index view, it shows the subject and the first few characters of the mail body, but the wrapping goes wrong: the last 2 characters of the line fold to the left two columns of the next line in the terminal
  • In the thread view the first line is not displayed, only the second line is
    visible (thus only the text "still visible in the thread view.")

Unfortunately I now have an unhappy customer because I missed the first line
of his mail :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions