Code

utf8_width(): allow non NUL-terminated input
authorJunio C Hamano <gitster@pobox.com>
Wed, 2 Jan 2008 09:49:58 +0000 (01:49 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jan 2008 04:53:46 +0000 (20:53 -0800)
commit44b25b872f926ba92bae9ddf2495e7f59d0c96e2
tree579d32398870dd862ea60008566dd498acad6902
parent396ccf1fcb91f31d5060555cbffc35bf24172a35
utf8_width(): allow non NUL-terminated input

The original interface assumed that the input string is
always terminated with a NUL, but that wasn't too useful.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
utf8.c
utf8.h