Message205902
| Author |
doerwalter |
| Recipients |
doerwalter, ezio.melotti, fdrake, pitrou, serhiy.storchaka |
| Date |
2013年12月11日.11:42:34 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1386762155.1.0.0809981516537.issue19100@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is not the fault of pprint. IMHO it doesn't make sense to fix anything here, at least not for pprint specifically. print() has the same "problem":
$ LANG= ./python -c "print('\u20ac')"
Traceback (most recent call last):
File "<string>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode character '\u20ac' in position 0: ordinal not in range(128) |
|