From f11a3de5604c4eada1186b57ea7056a2ff2c3c1e Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Fri, 2 Dec 2011 22:32:07 -0500 Subject: [PATCH] charset should be set on content type --- web.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web.d b/web.d index e74f5ff..2dc17d1 100644 --- a/web.d +++ b/web.d @@ -1140,7 +1140,7 @@ void run(Provider)(Cgi cgi, Provider instantiation, size_t pathInfoStartingPoint case "document": case "html": default: - cgi.setResponseContentType("text/html"); + cgi.setResponseContentType("text/html; charset=utf-8"); if(result.result.type == JSON_TYPE.STRING) { auto returned = result.result.str;