Message145498
| Author |
vstinner |
| Recipients |
Nicholas.Cole, ezio.melotti, inigoserna, loewis, tchrist, vstinner, zeha |
| Date |
2011年10月14日.01:32:56 |
| SpamBayes Score |
1.3340597e-05 |
| Marked as misclassified |
No |
| Message-id |
<1318555977.71.0.0605434329374.issue12568@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Oh, unicode_width.patch of issue #2382 implements the width on Windows using:
WideCharToMultiByte(CP_ACP, 0, buf, len, NULL, 0, NULL, NULL);
It computes the length of byte string encoded to the ANSI code page. I don't know if it can be seen as the "width" of a character string in the console... |
|