This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Claudiu.Popa
Recipients Claudiu.Popa, belopolsky, eric.araujo
Date 2010-08-18.06:01:52
SpamBayes Score 0.00010577274
Marked as misclassified No
Message-id <1282111315.97.0.803399409738.issue9598@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2010-08-18 06:01:56Claudiu.Popasetrecipients: + Claudiu.Popa, belopolsky, eric.araujo
2010-08-18 06:01:55Claudiu.Popasetmessageid: <1282111315.97.0.803399409738.issue9598@psf.upfronthosting.co.za>
2010-08-18 06:01:53Claudiu.Popalinkissue9598 messages
2010-08-18 06:01:52Claudiu.Popacreate