X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=utf8.h;h=15db6f1f27ef7a1f056d5b6adca901f092036f82;hb=e340d7d3fa1c5b9a6e7af2e3ee3d526064e56bea;hp=a0d7f591adc3d86e5c813d79059c7c0335b32dc3;hpb=9e83266525aad5c6210b9a21be9b1c6996d5544f;p=git.git diff --git a/utf8.h b/utf8.h index a0d7f591a..15db6f1f2 100644 --- a/utf8.h +++ b/utf8.h @@ -3,6 +3,14 @@ int utf8_width(const char **start); int is_utf8(const char *text); -void print_wrapped_text(const char *text, int indent, int indent2, int len); +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