[Tickets #5462] Re: German Umlauts in Subject line do not encode/display correctly

bugs at bugs.horde.org bugs at bugs.horde.org
Fri Jun 15 13:26:10 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5462
-----------------------------------------------------------------------
 Ticket             | 5462
 Updated By         | adrieder at sbox.tugraz.at
 Summary            | German Umlauts in Subject line do not encode/display correctly
 Queue              | IMP
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 3. High
 Owners             | 
-----------------------------------------------------------------------


adrieder at sbox.tugraz.at (2007-06-15 06:26) wrote:

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);




More information about the bugs mailing list