Message140005
| Author |
vstinner |
| Recipients |
belopolsky, christian.heimes, eric.araujo, flox, georg.brandl, tim.peters, vstinner |
| Date |
2011年07月07日.23:47:27 |
| SpamBayes Score |
0.0023194035 |
| Marked as misclassified |
No |
| Message-id |
<1310082448.44.0.461874132365.issue10117@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> When working as a filter, reindent should use sys.{stdin,stdout}.encoding
> (defaulting to sys.getdefaultencoding()) for reading and writing,
> respectively.
It just doesn't work: you cannot read a ISO-8859-1 file from UTF-8 (if your locale encoding is UTF-8). |
|