From 677cfed56ac530878b746ee4cca3ada8af384a81 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sat, 30 Dec 2006 12:20:43 -0800 Subject: commit-tree: cope with different ways "utf-8" can be spelled. People can spell config.commitencoding differently from what we internally have ("utf-8") to mean UTF-8. Try to accept them and treat them equally. Signed-off-by: Junio C Hamano --- utf8.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utf8.h') diff --git a/utf8.h b/utf8.h index cae2a8e665..a07c5a88af 100644 --- a/utf8.h +++ b/utf8.h @@ -3,6 +3,8 @@ int utf8_width(const char **start); int is_utf8(const char *text); +int is_encoding_utf8(const char *name); + void print_wrapped_text(const char *text, int indent, int indent2, int len); #ifndef NO_ICONV -- cgit v1.2.1