6.0.0-alpha14
7/2/25

[#12568] german umlauts in pgp-encrypted mails
Summary german umlauts in pgp-encrypted mails
Queue IMP
Queue Version 6.1.3
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester bugs (at) miniskipper (dot) at
Created 08/13/2013 (4341 days ago)
Due
Updated 08/21/2013 (4333 days ago)
Assigned
Resolved 08/13/2013 (4341 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/21/2013 05:04:26 AM bugs (at) miniskipper (dot) at Comment #7 Reply to this comment
Thanks for the information.
Will watch the php-bug and leave the quoted_printable_decode in the 
code until it's fixed.
08/21/2013 04:59:14 AM Michael Slusarz Comment #6 Reply to this comment
FWIW, this is probably this:

https://bugs.php.net/bug.php?id=65483
08/14/2013 08:55:43 PM Michael Slusarz Comment #5 Reply to this comment
$result->output=quoted_printable_decode($result->output);
We don't use quoted_printable_decode.  We use the quoted-printable 
stream filter.
08/14/2013 05:12:58 AM bugs (at) miniskipper (dot) at Comment #4 Reply to this comment
When trying quoted_printable_decode() in the PHP-Shell, all works fine.
So this is obviously no php-error.

In /usr/share/pear/Horde/Crypt/Pgp.php, line 1306-1310 the message 
is encrypted. I added
$result->output=quoted_printable_decode($result->output);
after the decrypting and now the umlauts are displayed correctly.
The message is decrypted there, of course.
08/14/2013 05:11:08 AM bugs (at) miniskipper (dot) at Comment #3 Reply to this comment
When trying quoted_printable_decode() in the PHP-Shell, all works fine.
So this is obviously no php-error.

In /usr/share/pear/Horde/Crypt/Pgp.php, line 1306-1310 the message is 
encrypted. I added
$result->output=quoted_printable_decode($result->output);
after the decrypting and now the umlauts are displayed correctly.
08/13/2013 05:50:38 PM Michael Slusarz Comment #2
State ⇒ Not A Bug
Reply to this comment
We use PHP's quoted-printable encoding.  So any quoted-printable 
issues need to be reported there.
08/13/2013 12:17:35 PM bugs (at) miniskipper (dot) at Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ german umlauts in pgp-encrypted mails
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
when viewing pgp-encrypted mails, german umlauts are not correctly displayed

this is what i see, after entering the passphrase of my key:
Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

pgp test =C3=B6=C3=A4=C3=BC=C3=9F=20=C3=B6=20=C3=A4=20=C3=BC =C3=9F
original text was:
"pgp test öäüß ö ä ü ß"

after first non-ascii char, even spaces are displayed as =20

in normal (non-encrypted) mails, there is no problem with encoding

Horde up-to-date stable as of today
php 5.4.17
apache 2.2.15

Saved Queries