From c71f30c3c1a6686b9a18762ee5467a973079b535 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 15 Feb 2022 16:02:05 +0000 Subject: [PATCH] vcard 4 returns utf-8 --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index a4f498e9d..7672bf536 100644 --- a/daemon.py +++ b/daemon.py @@ -1225,7 +1225,7 @@ class PubServer(BaseHTTPRequestHandler): if vcard_str: msg = vcard_str.encode('utf-8') msglen = len(msg) - self._set_headers('text/vcard', msglen, + self._set_headers('text/vcard; charset=utf-8', msglen, None, calling_domain, True) self._write(msg) print('vcard sent to ' + str(referer_domain))