Fix issues with unicode in markdown attachments.
Review Request #6733 — Created Jan. 5, 2015 and submitted
The renderer for markdown attachments had some bugs with unicode. I've changed
the log statement to actually log a traceback, and fixed it so that we don't
coerce bytes using the wrong codec.
- Attached a markdown file that included unicode characters and saw it render
properly. - Ran unit tests.
Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/markdown_utils.py reviewboard/reviews/ui/markdownui.py Tool: Pyflakes Processed Files: reviewboard/reviews/markdown_utils.py reviewboard/reviews/ui/markdownui.py