[Tickets #9187] Re: compose html2text charset

bugs at horde.org bugs at horde.org
Thu Aug 19 17:09:20 UTC 2010


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

Ticket URL: http://bugs.horde.org/ticket/9187
------------------------------------------------------------------------------
  Ticket             | 9187
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | compose html2text charset
  Queue              | IMP
  Version            | Git master
  Type               | Bug
-State              | Unconfirmed
+State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
-Owners             |
+Owners             | Michael Slusarz
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2010-08-19 13:09) wrote:

> When clicking on "Switch to plain text composition", I get no text.

Fixed.

> I have a second issue when switching from html 2 text composition,  
> accent get screwed. It appears to come from DOMDocument not being  
> able to detect properly the charset.
>
> The following fix does the job for me (inspired from "User  
> Contributed Notes"  
> http://www.php.net/manual/en/domdocument.loadhtml.php)

This won't work.  It relies on mb_convert_encoding() which may not be  
available (it is not required for Horde).

Try my patch.  It has been working with the XSS filter for a bit now  
and seems to do the right thing.






More information about the bugs mailing list