From 271457b7a4753c0ee79fe0ee5105b7e496a8d240 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 31 May 2011 20:04:03 +0200 Subject: Add basic UTF-8 helper functions Add utf8_width() and utf8_strwidth() which can be used to calculate the display width of a single character or a string, respectively. A lookup table is used to spot double width characters, as well as composing characters. There currently isn't any code to deal with ambigious characters. Signed-off-by: Lukas Fleischer --- src/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index faacf46..b24a51d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -22,6 +22,7 @@ calcurse_SOURCES = \ recur.c \ sigs.c \ todo.c \ + utf8.c \ utils.c \ vars.c \ wins.c \ -- cgit v1.2.3-54-g00ecf