This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 tchrist
收信人 Arfrever, Nicholas.Cole, ezio.melotti, inigoserna, loewis, poq, tchrist, vstinner, zeha
日期 2012-03-10.16:58:29
SpamBayes Score 2.0812796e-11
Marked as misclassified
Message-id <1127.1331398702@chthon>
In-reply-to <1331398374.59.0.359908742277.issue12568@psf.upfronthosting.co.za>
内容
I would encourage you to look at the Perl CPAN module Unicode::LineBreak,
which fully implements tr11.  It includes Unicode::GCString, a class
that has a columns() method to determine the print columns.  This is very
fancy in the case of Asian widths, but of course there are many other cases too.

If you'd like, I can show you a program that uses these, a rewrite the
standard Unix fmt(1) filter that works properly on Unicode column widths.

--tom
历史
日期 用户 动作 参数
2012-03-10 16:58:29tchrist修改recipients: + tchrist, loewis, vstinner, ezio.melotti, Arfrever, inigoserna, zeha, poq, Nicholas.Cole
2012-03-10 16:58:29tchrist链接issue12568 messages
2012-03-10 16:58:29tchrist创建