Michael A. Peters wrote:
$website_data = new tidy('dom_test.html',$tidy_config);
Doh! Should be $website_data = new tidy('dom_test.html',$tidy_config,'utf8');Otherwise it has the same problem with multibyte characters that loadHTML() has. But with the 'utf8' specified it works beautifully.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php