From ad52a9b9fe75d4dff693d68053ecb261302610f4 Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 9 May 2023 23:24:10 +0200 Subject: [PATCH] Fix metrics encoding --- shiftregister/metrics/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shiftregister/metrics/views.py b/shiftregister/metrics/views.py index 9b9699c..961e4ad 100644 --- a/shiftregister/metrics/views.py +++ b/shiftregister/metrics/views.py @@ -98,6 +98,6 @@ def metrics(request): ) ) ) - response.headers["Content-Type"] = "text/plain" + response.headers["Content-Type"] = "text/plain; charset=utf-8" return response