X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=utf8.h;h=a07c5a88af63d41ae963f230510a33d78b68a525;hb=2eff14259ea4035dc5f8a18f5998e88dd4da207e;hp=a0d7f591adc3d86e5c813d79059c7c0335b32dc3;hpb=9e83266525aad5c6210b9a21be9b1c6996d5544f;p=git.git diff --git a/utf8.h b/utf8.h index a0d7f591a..a07c5a88a 100644 --- a/utf8.h +++ b/utf8.h @@ -3,6 +3,14 @@ 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 +char *reencode_string(const char *in, const char *out_encoding, const char *in_encoding); +#else +#define reencode_string(a,b,c) NULL +#endif + #endif