Summary | PGP problem with charset UTF-8 |
Queue | IMP |
Queue Version | 4.2.1-RC1 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | Horde Developers (at) |
Requester | horde (at) ashish (dot) neomailbox (dot) com |
Created | 08/18/2008 (6163 days ago) |
Due | |
Updated | 09/22/2008 (6128 days ago) |
Assigned | 08/18/2008 (6163 days ago) |
Resolved | 09/22/2008 (6128 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Not A Bug
UTF-8. Decoding should still work if it doesn't though.
I tried AddDefaultCharset UTF-8 in the relevant VirtualHost section
and it made no difference.
The comments in the code at the relevant point in
lib/Horde/MIME/Contents.php refer to the browser's charset, not the
server's:
/* If this is a text/* part, AND the text is in a different character
* set than the browser, convert to the current character set.
* Additionally, if the browser does not support UTF-8, give the
* user a link to open the part in a new window with the correct
* character set. */
$charset = $mime_part->getCharset();
I tried setting the default charset to UTF-8 in Firefox and that
didn't make any difference either.
As of now, PGP messages coming in as text/plain parts with charset
UTF-8 fail to trigger PGP decryption and only show this charset message.
State ⇒ Assigned
Priority ⇒ 1. Low
Assigned to
UTF-8. Decoding should still work if it doesn't though.
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ PGP problem with charset UTF-8
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
seem to be displayable.
When such a message is clicked on, instead of the PGP passphrase
prompt, we see this message:
"This message was written in a character set (UTF-8) other than your
own. If it is not displayed correctly, click here to open it in a new
window."
It works fine if the charset is US-ASCII.
I tried editing the mail files on the IMAP server and changing the
Content-type header, but that didn't seem to make any difference
within IMP. Clicking Message Source shows the edited message with the
new Content-type header, but IMP continues to emit the above message
about UTF-8 charset. I don't understand why this happens.
Clicking on the link in the message doesn't start the decryption
process for the message, but simply shows the encrypted message in a
new window.