Unidiff1 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 @@ |
17 | #include <archive.h> |
17 | #include <archive.h> |
18 | #include <xdiff/xdiff.h> |
18 | #include <xdiff/xdiff.h> |
| |
19 | #include <utf8.h> |
19 | |
20 | |
20 | |
21 | |
@@ -49,4 +50,9 @@ |
49 | |
50 | |
50 | |
51 | |
| |
52 | /* |
| |
53 | * Default encoding |
| |
54 | */ |
| |
55 | #define PAGE_ENCODING "UTF-8" |
| |
56 | |
51 | typedef void (*configfn)(const char *name, const char *value); |
57 | typedef void (*configfn)(const char *name, const char *value); |
52 | typedef void (*filepair_fn)(struct diff_filepair *pair); |
58 | typedef void (*filepair_fn)(struct diff_filepair *pair); |
@@ -91,4 +97,5 @@ struct commitinfo { |
91 | char *subject; |
97 | char *subject; |
92 | char *msg; |
98 | char *msg; |
| |
99 | char *msg_encoding; |
93 | }; |
100 | }; |
94 | |
101 | |
|