Message155933
| Author |
loewis |
| Recipients |
asvetlov, ezio.melotti, loewis, ned.deily, python-dev, roger.serwy, terry.reedy, vbr, vstinner |
| Date |
2012年03月15日.18:50:28 |
| SpamBayes Score |
2.9052959e-05 |
| Marked as misclassified |
No |
| Message-id |
<4F6239F3.4020403@v.loewis.de> |
| In-reply-to |
<1331836676.6.0.659710404064.issue14200@psf.upfronthosting.co.za> |
| Content |
> Is the following reasonable: The IDLE shell console has a locale of
> "non-BMP utf8"?
[BMP utf8]
That's indeed the approach that Andrew and I were discussing.
Unfortunately, there is no codec for it yet. We were discussing
to add a "utf8bom" encoding to Python. This is a medium-sized
project, though (and again out of scope for this issue).
> If so, would it be reasonable to add a menu item to switch locales
> for the shell? This amounts to adding some extra code to
> OutputWindow's write() to raise encoding errors if the string
> contains unsupported characters, and possibly replacing characters to
> work around Tcl/Tk's non-BMP limitation.
Please open a separate issue for this. |
|