Re: [PATCH] utf8: add utf8_strwidth()
- From
Jeff King <peff@peff.net>
- Date
- Jan 31, 2009, 07:17 UTC
- Message-ID
- <20090131071711.GA3710@coredump.intra.peff.net>
- In-Reply-To
- <1233308489-2656-1-git-send-email-geofft@mit.edu>
On Fri, Jan 30, 2009 at 04:41:28AM -0500, Geoffrey Thomas wrote:
> I'm about to use this pattern more than once, so make it a common function.
I know next to nothing about our encoding functions, but this seems suspiciously similar to utf8_width in utf8.c. There is also a git_wcwidth, but I don't know how they relate.
-Peff