Popa Claudiu <pcmantic...@gmail.com> added the comment: Hello. As it seems, untabify.py opens the file using the builtin function open, making the call error-prone when encountering non-ascii character. The proper handling should be done by using open from codecs library, specifying the encoding as argument. e.g. codecs.open(filename, mode, 'utf-8') instead of simply open(filename, mode).
---------- nosy: +Popa.Claudiu _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9598> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com