set HTML charset to UTF-8

Fixes rendering issues with the `tree` output used as an example on some pages, which otherwise displayed Â characters in some places when encoding wasn't detected properly by the browser.

Fixes #2352.