[Tickets #8393] Re: charset problem in html file in attachment

bugs at horde.org bugs at horde.org
Thu Jul 2 06:45:02 UTC 2009


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

Ticket URL: http://bugs.horde.org/ticket/8393
------------------------------------------------------------------------------
  Ticket             | 8393
  Updated By         | mloiseleur at linagora.com
  Summary            | charset problem in html file in attachment
  Queue              | IMP
  Version            | 4.3.2
  Type               | Bug
  State              | Not A Bug
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


mloiseleur at linagora.com (2009-07-02 02:45) wrote:

> Not a bug.  Meta tags have all sorts of security implementations for  
> inline display, so they are necessarily stripped from the HTML  
> source.  Charset must be indicated in the content-type for the part,  
> not a meta tag.  If you want to view an unadulterated version,  
> download the file to your local machine and view the local copy.

Hi, thanks for your quick answer. One part of the problem is that the  
content-type of the part is wrong. It's setted with a call like this :
  $msg->setCharset(NLS::getCharset());
So every html part gets an "UTF-8" encoding, which can be wrong.
What would you say about reading and setting charset for an html attachment ?

Regards,






More information about the bugs mailing list