Windows ANSI - hook write()
[git/mingw/4msysgit/peterh.git] / utf8.h
blobf22ef3133caefcea8576693e10268db2a549a050
1 #ifndef GIT_UTF8_H
2 #define GIT_UTF8_H
4 typedef unsigned int ucs_char_t; /* assuming 32bit int */
6 ucs_char_t pick_one_utf8_char(const char **start, size_t *remainder_p);
7 int utf8_width(const char **start, size_t *remainder_p);
8 int is_utf8(const char *text);
9 int is_encoding_utf8(const char *name);
11 int print_wrapped_text(const char *text, int indent, int indent2, int len);
13 char *reencode_string(const char *in, const char *out_encoding, const char *in_encoding);
15 #endif