I don't understand the following part from this solution:
What does the '^^f0' mean? Where does it come from? I looked into interface3.pdf and couldn't find anything.
The unicode replacement works nicely for 1f1e9-1f1ea (🇩🇪, german flag), 1f468-1f3ff (👨🏿, emoji skin color variation) and 1f3f3-1f308 (🏴☠, pirate flag). But not on 1f3f4-2620 (🏳🌈, rainbow flag).
I guess it is connected to the fact, that '2620' in the last example is not 5 digits long? I fiddled a bit with the '^^f0' and every variation (i.e. '^^0f', '^^ab', '^^08', ...) either led to an error or didn't combine either of the mentioned emoji.
The question, again: How does '^^f0' work?