How to print emoji style flag in terminal/shell on OSX with python?

Viewed 3680

With python I can use

print u"\U0001F602"

to print the emoji enter image description here

but I can't print the flag enter image description here emoji with

print u"\U0001F1F2\U0001F1FE"

because the flag is default by text style in terminal, how to print a flag emoji icon in terminal?

I tried adding the emoji variation selector but also not working for flag.


Yes as @Alastair said, it works on Terminal.app but not iTerm2.app, but set same font with both the apps, result still the same.

0 Answers
Related