Mayflower/PHP_CodeBrowser — comment on commit 46d5b2477cd8bb1b7a07555bf5dbbec49490de9f
File:  line 0
By miau:

```php
$sourceDom->loadHTML('' . $code);
```
This hack works well on one of my machine (Windows 7/PHP 5.3.8/libxml 2.7.7) but doesn't solve garbles on another machine (CentOS 5.6/PHP 5.3.8/libxml 2.6.26). Though this is just my guess, loadHTML() might not recognize encoding of XML declarations with libxml 2.6.26.

```php
$sourceDom->loadHTML('

' . $code);
```
works well on both of my machines.