Closed zeridon closed 8 years ago
Not sure this is a good idea: sys.setdefaultencoding is very much a hack. I also assume this works as-is on Python 3.x (which vastly improved Unicode support), and adding hacks to work on an older Python is undesirable.
Inclusion is always at your discretion. If you feel this is too much of a hack (which it is) feel free to reject.
Since there is an elegant solution (use Python 3!), I don't think including a hack is a good idea. Though anyone dead set on using Python 2 can try to manually apply the diff found here.
Fix display of cyrillic characters in rendered files