6.0.0-git
2019-03-21

[#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 2013-08-13 (2046 days ago)
Due
Updated 2013-08-21 (2038 days ago)
Assigned
Resolved 2013-08-13 (2046 days ago)
Milestone
Patch No

History
2013-08-21 05:04:26 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.
2013-08-21 04:59:14 Michael Slusarz Comment #6 Reply to this comment
FWIW, this is probably this:

https://bugs.php.net/bug.php?id=65483
2013-08-14 20:55:43 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.
2013-08-14 05:12:58 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.
2013-08-14 05:11:08 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.
2013-08-13 17:50:38 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.
2013-08-13 12:17:35 bugs (at) miniskipper (dot) at Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ german umlauts in pgp-encrypted mails
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
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