Bastien Montagne added the comment: Hi,
Decided to give it a try and implement suggested Py_SetStandardStreamEncoding, see attached patch. A quick test with Blender under Linux (with an ASCII console) seems to work OK, unfortunatly I do not have Windows to test it where it really matters... That's my first piece of code ever written for Python, I hope it does not contain too much obvious errors! ---------- nosy: +mont29 Added file: http://bugs.python.org/file31808/setstdio.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16129> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com