Re: textwrap and combining diacritical marks

2007-06-28 Thread Berteun Damman
On Thu, 28 Jun 2007 09:19:20 + (UTC), Berteun Damman <[EMAIL PROTECTED]> wrote: > And that leasts to another question, does Python have a function akin to > wcwidth() which gives the number of column positions a unicode character > needs? After playing around a bit with unicodedata.normalize,

textwrap and combining diacritical marks

2007-06-28 Thread Berteun Damman
Hello, When using the textwrap module, the wrap will always use len() to determine the length of the string being wrapped. This might be a sensible thing to do in many circumstances, but I think there are circumstances where this does not lead to the desired result. I assume many applications of