6.0.0-beta1
8/1/25

[#5462] German Umlauts in Subject line do not encode/display correctly
Summary German Umlauts in Subject line do not encode/display correctly
Queue IMP
Queue Version HEAD
Type Bug
State Resolved
Priority 3. High
Owners
Requester adrieder (at) sbox (dot) tugraz (dot) at
Created 06/15/2007 (6622 days ago)
Due
Updated 06/15/2007 (6622 days ago)
Assigned
Resolved 06/15/2007 (6622 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/15/2007 01:57:08 PM Michael Slusarz Comment #4
State ⇒ Resolved
Reply to this comment
Fixed, thanks.
06/15/2007 01:26:10 PM adrieder (at) sbox (dot) tugraz (dot) at Comment #3 Reply to this comment
Here is a patch, which seems to work and fixes the problem.



--- framework/MIME/MIME.php.ori Tue Jun 12 20:56:37 2007

+++ framework/MIME/MIME.php     Fri Jun 15 15:23:41 2007

@@ -171,7 +171,7 @@

          if ((strlen($encoded) + $c_size) > 75) {

              $parts = explode("\r\n", rtrim(chunk_split($encoded, 
intval((75 - $c_size) / 4) * 4)));

          } else {

-            $parts[] = array($encoded);

+           $parts[] = $encoded;

          }



          $p_size = count($parts);


06/15/2007 01:14:02 PM adrieder (at) sbox (dot) tugraz (dot) at Comment #2 Reply to this comment
06/15/2007 12:48:01 PM adrieder (at) sbox (dot) tugraz (dot) at Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ German Umlauts in Subject line do not encode/display correctly
Queue ⇒ IMP
State ⇒ Unconfirmed
Reply to this comment
When sending messages with Umlauts in the Subject line they do not get 
encoded/displayed correctly.

They result in something like:

  "Subject: =?utf-8?b?Array?="

or

Subject: =?iso-8859-1?b?Array?=



depending on the sending charset.

Saved Queries