Encode markdown html text to utf-8 before passing into minidom.
Encode markdown html text to utf-8 before passing into minidom.

minidom doesn't seem to like unicode objects (and tries to decode them as if
they were ascii). The trivial fix is to encode to utf-8 before calling
parseString.

Testing done:
Looked at /r/2568/ from r.rb.o, which previously caused a traceback. Saw that
both the description and the change description field correctly rendered the
unicode text.

davidt/reviewboard,bkochendorfer/reviewboard,KnowNo/reviewboard,1tush/reviewboard,custode/reviewboard,KnowNo/reviewboard,reviewboard/reviewboard,1tush/reviewboard,reviewboard/reviewboard,chipx86/reviewboard,brennie/reviewboard,sgallagher/reviewboard,1tush/reviewboard,bkochendorfer/reviewboard,chipx86/reviewboard,sgallagher/reviewboard,davidt/reviewboard,KnowNo/reviewboard,reviewboard/reviewboard,custode/reviewboard,beol/reviewboard,chipx86/reviewboard,bkochendorfer/reviewboard,sgallagher/reviewboard,brennie/reviewboard,beol/reviewboard,chipx86/reviewboard,1tush/reviewboard,1tush/reviewboard,beol/reviewboard,custode/reviewboard,1tush/reviewboard,davidt/reviewboard,reviewboard/reviewboard,1tush/reviewboard,beol/reviewboard,brennie/reviewboard,brennie/reviewboard,custode/reviewboard,davidt/reviewboard,KnowNo/reviewboard,bkochendorfer/reviewboard,1tush/reviewboard,sgallagher/reviewboard,1tush/reviewboard