A discussion about an extra Unicode character appearing after an emoji on macOS, but not on iOS. gingerbeardman first reported the issue with the golf flag emoji , showing a square character after it on macOS, but not on iOS. Other users confirmed the issue, with sam noting it only appeared on Mac, not Windows. joffreyjaffeux investigated further, finding the extra character to be U+FE0F, and suspecting the macOS emoji picker as the cause. The issue was also found to occur in plain text files and in Safari, but not in other browsers or apps like TextEdit or Chrome. gingerbeardman has reported the bug to Apple (rdar://36800472).
If I copy the emoji from https://emojipedia.org/flag-in-hole/ and add it to the end of the title, save, and then edit and copy the end of the string:
irb(main):009:0> "⛳".codepoints
=> [9971]
So far my best guess it the macOS emoji picker is doing something it shouldn’t? Can you take a screen of what you see exactly please ? I might have a mac not on sierra, will try tomorrow.