Message206071
There's an alternative to trying to force a different encoding for the
standard streams when the OS claims ASCII as the OS encoding: we can
default to surrogateescape as the error handler, on the assumption that
whatever the *real* OS encoding is, it definitely isn't ASCII.
That means we'll still complain about displaying improperly encoded data
when the OS suggests a plausible encoding, but we won't fail entirely just
because someone enabled (deliberately or accidentally) the POSIX locale. |
|
Date |
User |
Action |
Args |
2013-12-13 12:51:39 | ncoghlan | set | recipients:
+ ncoghlan, lemburg, loewis, terry.reedy, pitrou, vstinner, larry, a.badger, r.david.murray, Sworddragon, serhiy.storchaka, bkabrda |
2013-12-13 12:51:39 | ncoghlan | link | issue19846 messages |
2013-12-13 12:51:39 | ncoghlan | create | |
|