I am trying to add a heavy check mark (✔) to my Chrome extension’s badge text. When I update the badge from a background script, it works fine. When I update it from a script within the popup window, it renders as ✔
.
chrome.browserAction.setBadgeText({
text: '✔',
tabId: tabId
});
The popup window is probably not defaulting to the correct character encoding.
You need to put <meta charset="utf-8">
in the head of your popup window.