summaryrefslogtreecommitdiffabout
path: root/cgit.h
Side-by-side diff
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 163f355..6291c58 100644
--- a/cgit.h
+++ b/cgit.h
@@ -17,4 +17,5 @@
#include <archive.h>
#include <xdiff/xdiff.h>
+#include <utf8.h>
@@ -49,4 +50,9 @@
+/*
+ * Default encoding
+ */
+#define PAGE_ENCODING "UTF-8"
+
typedef void (*configfn)(const char *name, const char *value);
typedef void (*filepair_fn)(struct diff_filepair *pair);
@@ -91,4 +97,5 @@ struct commitinfo {
char *subject;
char *msg;
+ char *msg_encoding;
};