Roundcube Community Forum

 

incorrect encoding lette html

Started by umount, November 26, 2010, 03:15:43 AM

Previous topic - Next topic

umount

The letter (html) is incorrectly decoded when there is a broked symbol

The file lib/washtml.php about loading of a beaten file all is used that after a beaten place is incorrectly coded.

in this place.
@$node->loadHTML($html);                                                                    
return $this->dumpHtml($node);

Use UTF-8.

if
-@$node->loadHTML($html);                                                                    
-return $this->dumpHtml($node);
+return $html;

All letter doesn't break, incorrect symbol not from that coding is simply passed