From de92a1bc40805be9d3f508fc4a00599dd3855940 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 18 Feb 2023 23:07:23 +0000 Subject: [PATCH] Encode --- daemon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon.py b/daemon.py index 93e25a567..29be1eeeb 100644 --- a/daemon.py +++ b/daemon.py @@ -8960,6 +8960,7 @@ class PubServer(BaseHTTPRequestHandler): print('EX: unable to read media binary ' + media_filename) if media_transcript: + media_transcript = media_transcript.encode('utf-8') self._set_headers_etag(media_filename, media_file_type, media_transcript, None, None, True,