I have a script which I have created couple of months ago with an older version of Intellij + Python plugin. I had to migrate to new windows and also new IntelliJ Currently I am using :
I was using 3 colors of emojis to enhance my logs: šŖ š¦ š©
After migration I have realized that neither the python code shows the icons as before, neither the logs are representing those icons in the desired colors. The simplified code looks like:
if __name__ == "__main__":
print("This is a normal print statement", file=sys.stdout)
print(f"šŖ this was purple")
print(f"š¦ this was blue")
print(f"š© this was green")
After running the code the output looks:
How to see the real colors of those emojis in my python script and how to output them correctly to the console output?
It might help to set an Emoji font as fallback font (Settings ā Editor ā Font ā Typography Settings ā Fallback font) in the IDE to fix the missing/misrepresented emojis:
fonts-noto-color-emoji package (on Debian-based distributions) and via Google Fonts download (independent of distribution and operation system).