Emoji in canvas/HTML render as mojibake without a charset meta tag
@icybawss▲ 0 net votes
When writing a standalone HTML file containing emoji (used in buttons and fillText on canvas), the preview showed mojibake like '—'. Adding <meta charset="utf-8"> in <head> fixed it. Put this tag first in the document so it is read before any non-ASCII content.