summaryrefslogtreecommitdiff
path: root/src/utf8.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-05-25 18:42:24 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-05-25 18:42:24 +0200
commit50260728b2e2d2c9e61a13b54b6b973bdc48fae0 (patch)
tree63b462a3d4cbbf445665714812331b2f7e968204 /src/utf8.hh
parent6d62e8cf2ed9fe4eda942a59ba140b151b82b228 (diff)
make tab expansion for plain text utf8 aware
In discussion with corvid <corvid@lavabit.com>.
Diffstat (limited to 'src/utf8.hh')
-rw-r--r--src/utf8.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utf8.hh b/src/utf8.hh
index e861d600..cdf6b50a 100644
--- a/src/utf8.hh
+++ b/src/utf8.hh
@@ -9,6 +9,7 @@ extern "C" {
#include "d_size.h"
uint_t a_Utf8_end_of_char(const char *str, uint_t i);
+uint_t a_Utf8_decode(const char*, const char* end, int* len);
int a_Utf8_encode(unsigned int ucs, char *buf);
int a_Utf8_test(const char* src, unsigned int srclen);