2006-12-22 22:06:08 +01:00
|
|
|
#ifndef GIT_UTF8_H
|
|
|
|
#define GIT_UTF8_H
|
|
|
|
|
|
|
|
int utf8_width(const char **start);
|
|
|
|
int is_utf8(const char *text);
|
2006-12-30 21:20:43 +01:00
|
|
|
int is_encoding_utf8(const char *name);
|
|
|
|
|
2006-12-22 22:06:08 +01:00
|
|
|
void print_wrapped_text(const char *text, int indent, int indent2, int len);
|
|
|
|
|
2006-12-24 08:36:55 +01:00
|
|
|
#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
|
|
|
|
|
2006-12-22 22:06:08 +01:00
|
|
|
#endif
|