vcard 4 returns utf-8

main
Bob Mottram 2022-02-15 16:02:05 +00:00
parent 9ac37b3f87
commit c71f30c3c1
1 changed files with 1 additions and 1 deletions

View File

@ -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))