I have a fancy prompt that e.g. displays the Unicode lock symbol (U+1F512) if I’m in an SSH session. When I edit the file that sets the prompt using Vim in an iTerm2 that is using the Monaco font, the symbol is displayed graphically. However, when I open the file in Atom, I only get a box standing in for the symbol, even when I manually set the font family for the editor.
This is unfortunate, how could this be fixed?