From 8e1c59bac43d904eb4d25a7acbecd8d8df7bbb6a Mon Sep 17 00:00:00 2001 From: Miikka Virtanen Date: Sat, 31 Dec 2016 19:13:45 +0200 Subject: [PATCH] Set charset when serving logs --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index c4f1602..ae430cf 100644 --- a/index.js +++ b/index.js @@ -543,7 +543,7 @@ function serveLogs(res, pathParts) { return; } - res.setHeader('Content-Type', 'text/plain'); + res.setHeader('Content-Type', 'text/plain; charset=UTF-8'); res.end(data); }); });