Message141936
I can attest that being able to get the columns of a grapheme cluster is very important for printing, because you need this to do correct linebreaking. There might be something you can steal from
http://search.cpan.org/perldoc?Unicode::GCString
http://search.cpan.org/perldoc?Unicode::LineBreak
which implements UAX#14 on linebreaking and UAX#11 on East Asian widths.
I use this in my own code to help format Unicode strings my columns or lines. The right way would be to build this sort of knowledge into string.format(), but that is much harder, so an intermediary library module seems good enough for now. |
|
Date |
User |
Action |
Args |
2011-08-12 02:28:03 | tchrist | set | recipients:
+ tchrist, loewis, vstinner, ezio.melotti, inigoserna, zeha, Nicholas.Cole |
2011-08-12 02:28:02 | tchrist | set | messageid: <1313116082.92.0.238212663948.issue12568@psf.upfronthosting.co.za> |
2011-08-12 02:28:02 | tchrist | link | issue12568 messages |
2011-08-12 02:28:01 | tchrist | create | |
|