Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: umount on November 26, 2010, 03:15:43 AM

Title: incorrect encoding lette html
Post by: umount on November 26, 2010, 03:15:43 AM
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