results2html: Properly encode output in UTF-8.