Well, I rather suspect the GTK -> macOS interaction wherever this happens (my guess is Pango macOS backend). It's not about inserting such characters, opening existing file with emoji doesn't work either. Font shouldn't be the issue because the same font used in a native macOS editor works fine.