utf8: add utf8_strwidth()
commit8a9391e9440028c03345afa9f21459237a529592
authorGeoffrey Thomas <geofft@mit.edu>
Fri, 30 Jan 2009 09:41:28 +0000 (30 04:41 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Feb 2009 00:30:43 +0000 (4 16:30 -0800)
tree2165cc99e28a1f0a9a828a692a5479d8caeecc5c
parentb296e8fce6de6a40a41b5168dfbe735d11255256
utf8: add utf8_strwidth()

I'm about to use this pattern more than once, so make it a common function.

Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
utf8.c
utf8.h