summaryrefslogtreecommitdiffstats
path: root/charset.h
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-09-15 20:53:17 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-09-15 20:53:17 +0000
commit7440bfe68f6e152b40a308dd010188e57a9ae65a (patch)
treec73e134c8c934a131e646fac9c33e5c5354da7a8 /charset.h
parent8f42140d643a16ebe27cea943bd8c7bf02d30c9b (diff)
Adding basic UTF-8 support.
Diffstat (limited to 'charset.h')
-rw-r--r--charset.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/charset.h b/charset.h
index aa29f78b..5bb19860 100644
--- a/charset.h
+++ b/charset.h
@@ -28,12 +28,20 @@ typedef int CHARSET_MAP[256];
typedef struct
{
CHARSET_MAP *map;
-} CHARSET;
-
-CHARSET *mutt_get_charset(const char *);
+}
+CHARSET;
+
+CHARSET *mutt_get_charset(const char *);
CHARSET_MAP *mutt_get_translation(const char *, const char *);
+
unsigned char mutt_display_char(unsigned char, CHARSET_MAP *);
+
int mutt_display_string(char *, CHARSET_MAP *);
+int mutt_is_utf8(const char *);
+
+void mutt_decode_utf8_string(char *, CHARSET *);
+
+void state_fput_utf8(STATE *, char, CHARSET *);
#endif