Serhiy Storchaka added the comment: What if use "-u" flag? "utf-8" or "utf_8" encoding? ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue20599> _______________________________________