diff options
author | Waylan Limberg <waylan@gmail.com> | 2012-11-07 20:14:05 -0500 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2012-11-07 20:14:05 -0500 |
commit | f2d5aa83bbbd7cb260ea78dd8dfb4e2d4db4f7f7 (patch) | |
tree | 2a983c6ce6734659ea46ebf6260c6ea6afd5e20a /tests/safe_mode | |
parent | 54a00d12c03ab3c05ffb57f5797b96b31b6d894f (diff) | |
download | markdown-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/safe_mode')
0 files changed, 0 insertions, 0 deletions