Dear Squirrelmail developers,
I've got some emails with UTF-8 encoded bodies that are displayed correctly in the list view and the read_body view, but when I reply, the non-ASCII characters are not decoded properly in the quoted text.
Additionally, if the From: header contains a MIME encoded word that uses UTF-8, the inserted reply header exhibits the same problem. For instance, "From: =?UTF-8?Q?p=C3=A5ske?= <firstname.lastname@example.org>". The encoded word appears to be decoded correctly, but isn't entitified or encoded to the charset of the served page.
Below is an almost minimal test case. It contains the Danish text "God påske!", but that becomes "God pÃ¥ske!" in the quoted text when I reply. Also, the subject line and the reply header appear to be garbled.
From: =?UTF-8?Q?p=C3=A5ske?= <email@example.com>
Subject: God =?UTF-8?Q?p=C3=A5ske?=
Content-Type: text/plain; charset="UTF-8"
Log in to post a comment.