Staging
v0.5.1
Revision f48a203a563ae8a46daa8b8923b5d81dc40502fb authored by Junio C Hamano on 25 July 2007, 04:39:33 UTC, committed by Junio C Hamano on 25 July 2007, 07:06:53 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent ceefa44
Raw File
utf8.h
#ifndef GIT_UTF8_H
#define GIT_UTF8_H

int utf8_width(const char **start);
int is_utf8(const char *text);
int is_encoding_utf8(const char *name);

int print_wrapped_text(const char *text, int indent, int indent2, int len);

#ifndef NO_ICONV
char *reencode_string(const char *in, const char *out_encoding, const char *in_encoding);
#else
#define reencode_string(a,b,c) NULL
#endif

#endif
back to top