Update rst2html.py

Ensures that non-ascii characters are correctly encoded.