Message145498
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... |
|
Date |
User |
Action |
Args |
2011-10-14 01:32:57 | vstinner | set | recipients:
+ vstinner, loewis, ezio.melotti, inigoserna, zeha, Nicholas.Cole, tchrist |
2011-10-14 01:32:57 | vstinner | set | messageid: <1318555977.71.0.0605434329374.issue12568@psf.upfronthosting.co.za> |
2011-10-14 01:32:57 | vstinner | link | issue12568 messages |
2011-10-14 01:32:56 | vstinner | create | |
|