Message174846
| Author |
vstinner |
| Recipients |
Arfrever, Ariel.Ben-Yehuda, chris.jerdonek, eric.smith, ezio.melotti, loewis, serhiy.storchaka, vstinner |
| Date |
2012年11月04日.23:45:38 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1352072738.97.0.418198410455.issue15276@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
"If we don't fix this (I'm leaning that way myself), I think we should somehow document the limitation. There are ways to acknowledge the limitation without getting into the specifics of this particular issue."
I agree to documentation the limitation and close this issue as "wontfix".
A workaround is to format as a bytes string, and then decode the result from the locale encoding. It looks like locale.getpreferredencoding(True) should be used, not locale.getpreferredencoding(False). |
|