[Tickets #7043] Forwarded mail with national characters in the subject can be improperly encoded

bugs at horde.org bugs at horde.org
Mon Jul 7 17:38:16 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/7043
------------------------------------------------------------------------------
  Ticket             | 7043
  Created By         | mark.manning at nexussafe.com
  Summary            | Forwarded mail with national characters in the subject
                     | can be improperly encoded
  Queue              | IMP
  Version            | 4.2
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
+New Attachment     | imp_lib_Compose.php.patch
------------------------------------------------------------------------------


mark.manning at nexussafe.com (2008-07-07 13:38) wrote:

If you forward a mail where the subject includes national characters  
when the receiver views the message the "Forwarded Message: [subject]"  
line can display the "[subject]" incorrectly.  The underlying cause is  
that the name parameter of the Content-Type header is marked with the  
wrong charset.  In our case, for example, the text was in UTF-8 but  
was marked as us-ascii.

Attached is a working patch but I have to admit I don't really like  
the solution.  A lot of mail clients (well, Microsoft's anyway) don't  
always handle MIME messages correctly and assume the first character  
encoding they stumble over is the one that applies for everything in  
the message.  In this case they will see utf-8 whereas the actual  
message may have other/another encoding for other MIME parts.





More information about the bugs mailing list