Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add most robust handling of message output
I'll admit to being completely stymied by ASCII vs. UTF vs. Unicode handling in Python2 and Python3. I got a report of issues writing the output, so put in some code to handle exceptions and try different techniques. I thought I had put this issue to rest. If writing the output in the encoding of sys.stdout doesn't work, try writing the output in UTF8, and then with no encoding. One of these should work...(shouldn't it?) I'm basically just taking stabs in the dark here.
- Loading branch information