This is happening if you send utf-8 chars from the background or content scripts to the site. Safari still defaults to (Western ISO Latin 1) charset.
/* background.js */
sendResponse({error: 'These utf-8 quotes won’t work: “”’‘ we’re forced to use html entities like it’s 2005.'});
/* content-script.js */
browser.runtime.sendMessage(e.data).then(function(response){
	window.postMessage({action: e.data.action, response: response}, window.location.origin);
});
Topic:
Safari & Web
SubTopic:
General
Tags: