X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/cda7194e300277fbad73595c70ecece02d772190..1b7c5b2e0b918e9452694aace7c19194683989a8:/ui-shared.c diff --git a/ui-shared.c b/ui-shared.c index f9f02bc..5192800 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -352,13 +352,13 @@ void cgit_print_age(time_t t, time_t max_relative, char *format) void cgit_print_docstart(char *title, struct cacheitem *item) { - html("Content-Type: text/html; charset=utf-8\n"); + html("Content-Type: text/html; charset=" PAGE_ENCODING "\n"); htmlf("Last-Modified: %s\n", http_date(item->st.st_mtime)); htmlf("Expires: %s\n", http_date(item->st.st_mtime + ttl_seconds(item->ttl))); html("\n"); html(cgit_doctype); - html("\n"); + html("\n"); html("
\n"); html("