aboutsummaryrefslogtreecommitdiffstats
path: root/tests/util.py
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-11-07 20:14:05 -0500
committerWaylan Limberg <waylan@gmail.com>2012-11-07 20:14:05 -0500
commitf2d5aa83bbbd7cb260ea78dd8dfb4e2d4db4f7f7 (patch)
tree2a983c6ce6734659ea46ebf6260c6ea6afd5e20a /tests/util.py
parent54a00d12c03ab3c05ffb57f5797b96b31b6d894f (diff)
downloadmarkdown-f2d5aa83bbbd7cb260ea78dd8dfb4e2d4db4f7f7.tar.gz
markdown-f2d5aa83bbbd7cb260ea78dd8dfb4e2d4db4f7f7.tar.bz2
markdown-f2d5aa83bbbd7cb260ea78dd8dfb4e2d4db4f7f7.zip
Fixed #158. Now properly encoding output to stdout.
This is another try at this problem. The trick is geting code that works with both Python 2 and Python 3. I think this does it. The only improvment I can see now is to catch any errors and customize the error message to sugg that the user set the environment variable PYTHONIOENCODING to the desired encoding before calling the commandline script.
Diffstat (limited to 'tests/util.py')
0 files changed, 0 insertions, 0 deletions