Author Topic: incorrect encoding lette html  (Read 2323 times)

Offline umount

  • Full Member
  • ***
  • Posts: 63
incorrect encoding lette html
« 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
« Last Edit: November 26, 2010, 03:23:55 AM by umount »