From 5e30830c0454ecd1f0191bdbcd60a1c82f16354d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 18 Feb 2023 23:11:21 +0000 Subject: [PATCH] Include encoding --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 29be1eeeb..1bd5095f3 100644 --- a/daemon.py +++ b/daemon.py @@ -8955,7 +8955,7 @@ class PubServer(BaseHTTPRequestHandler): with open(media_filename, 'r', encoding='utf-8') as fp_vtt: media_transcript = fp_vtt.read() - media_file_type = 'text/vtt' + media_file_type = 'text/vtt; charset=utf-8' except OSError: print('EX: unable to read media binary ' + media_filename)