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

bugs at horde.org bugs at horde.org
Wed Mar 9 08:46:07 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              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Slusarz
+New Attachment     | xss.patch
------------------------------------------------------------------------------


rsalmon at mbpgroup.com (2011-03-09 08:46) wrote:

with the patch attached (and using the message originally attached to  
this ticket), here is the output of charset detection :

2011-03-09T09:33:34+01:00 INFO: HORDE [imp] 777777777777777777ASCII  
[pid 15410 on line 130 of  
"/var/www/html/hordetest/libs/Horde/Text/Filter/Xss.php"]
2011-03-09T09:33:34+01:00 INFO: HORDE [imp] 777777777777777777UTF-8  
[pid 15410 on line 130 of  
"/var/www/html/hordetest/libs/Horde/Text/Filter/Xss.php"]
2011-03-09T09:33:34+01:00 INFO: HORDE [imp] 777777777777777777ASCII  
[pid 15410 on line 130 of  
"/var/www/html/hordetest/libs/Horde/Text/Filter/Xss.php"]
2011-03-09T09:33:34+01:00 INFO: HORDE [imp] 777777777777777777UTF-8  
[pid 15410 on line 133 of  
"/var/www/html/hordetest/libs/Horde/Text/Filter/Xss.php"]
2011-03-09T09:33:34+01:00 INFO: HORDE [imp]  
777777777777777777iso-8859-1 [pid 15410 on line 134 of  
"/var/www/html/hordetest/libs/Horde/Text/Filter/Xss.php"]


So, this confirm that dom->saveXML returns UTF-8 characters, but  
$doc->encoding is iso-8859-1.

I'm having this issue not only with the attached message, but pretty  
much with all messages in my inbox (as a matter of fact all messages  
containing accents).

Just in case this was related to libxml, I've update the lib to libxml2-2.7.8








More information about the bugs mailing list