From dd0e2455d0ce23ccbb78d1d9c4d41ca0276d90f4 Mon Sep 17 00:00:00 2001 From: Kuxaaak Date: Tue, 9 Jun 2020 13:33:27 +0200 Subject: [PATCH] HACC to properly render names of ur CHINESE CARTOONS --- request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/request.c b/request.c index 59fcdcb..bb70e47 100644 --- a/request.c +++ b/request.c @@ -552,7 +552,7 @@ parse_request(struct REQUEST *req) return; } strftime(req->mtime, sizeof(req->mtime), RFC1123, gmtime(&req->bst.st_mtime)); - req->mime = "text/html"; + req->mime = "text/html; charset=utf-8"; req->dir = get_dir(req,filename); if (NULL == req->body) { /* We arrive here if opendir failed, probably due to -EPERM