diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-09-15 20:53:17 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-09-15 20:53:17 +0000 |
commit | 7440bfe68f6e152b40a308dd010188e57a9ae65a (patch) | |
tree | c73e134c8c934a131e646fac9c33e5c5354da7a8 /charset.h | |
parent | 8f42140d643a16ebe27cea943bd8c7bf02d30c9b (diff) |
Adding basic UTF-8 support.
Diffstat (limited to 'charset.h')
-rw-r--r-- | charset.h | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -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 |