Not required but strongly recommended.
Signed-off-by: Chris Mayo <[email protected]>
---
ui-shared.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui-shared.c b/ui-shared.c
index d27a5fd..4fb6d8a 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -783,6 +783,7 @@ void cgit_print_docstart(void)
html("<title>");
html_txt(ctx.page.title);
html("</title>\n");
+ htmlf("<meta charset='%s'/>\n", PAGE_ENCODING);
htmlf("<meta name='generator' content='cgit %s'/>\n", cgit_version);
if (ctx.cfg.robots && *ctx.cfg.robots)
htmlf("<meta name='robots' content='%s'/>\n", ctx.cfg.robots);
--
2.20.1
_______________________________________________
CGit mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/cgit