[Tickets #9567] Re: charset pb replying to message

bugs at horde.org bugs at horde.org
Fri Mar 4 16:37:35 UTC 2011


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

Ticket URL: http://bugs.horde.org/ticket/9567
------------------------------------------------------------------------------
  Ticket             | 9567
  Updated By         | rsalmon at mbpgroup.com
  Summary            | charset pb replying to message
  Queue              | IMP
  Version            | Git master
  Type               | Bug
  State              | Duplicate
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


rsalmon at mbpgroup.com (2011-03-04 16:37) wrote:

I got further.

problem is coming from Domhtml.php. DOMDocument thinks that $text is  
iso-8859-1, but it is UTF-8 as it has been converted earlier on.

The text message gets screwed after the following call (line 83) :
                 $doc->loadHTML(Horde_String::convertCharset($text,  
$charset, $doc->encoding));

$charset = utf-8
$doc->encoding = iso-8859-1

I don't know what to do from there. Anyway I can help ?

I use:
Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.13) Gecko/20110103  
Fedora/3.6.13-1.fc14 Firefox/3.6.13
php-5.3.5-1.el5.remi.1








More information about the bugs mailing list