diff options
Diffstat (limited to 'source/ui-atom.c')
| -rw-r--r-- | source/ui-atom.c | 4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 file changed, 2 insertions, 2 deletions
diff --git a/source/ui-atom.c b/source/ui-atom.c index 6eaa055..5ea681e 100644 --- a/source/ui-atom.c +++ b/source/ui-atom.c @@ -225,9 +225,9 @@ void cgit_print_atom(char *tip, const char *path, int max_count) if (!host) host = xstrdup("localhost"); ctx.page.mimetype = "application/atom+xml"; - ctx.page.charset = "utf-8"; + ctx.page.charset = PAGE_ENCODING; cgit_print_http_headers(); - html("<?xml version='1.0' encoding='utf-8'?>\n"); + html("<?xml version='1.0' encoding='UTF-8'?>\n"); html("<feed xmlns='http://www.w3.org/2005/Atom'>\n"); html("<title>"); xml_txt(ctx.repo->name); |
