Skip to content

Cannot display emoji โœ”๏ธ, ๐Ÿ™‹โ€โ™‚๏ธย #32840

Open

Description

@yzhang-gh

Steps to Reproduce:

  1. Open a new file
  2. Copy these two emoji โœ”๏ธโŒ to it
  3. See this result

image

Expected image

on Windows 10


2022.12: Edited to add a workaround:

Workaround. Append a color emoji font to the editor font family e.g.:

  • Windows: Consolas, 'Courier New', monospace, 'Segoe UI Emoji'
  • MacOS: Menlo, Monaco, 'Courier New', monospace, 'Apple Color Emoji'
  • Linux: 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback', 'Noto Color Emoji'

e.g. on macOS

  • "editor.fontFamily": "Roboto Mono, 'Apple Color Emoji'",

or for a cross-platform solution:

  • "editor.fontFamily": "Consolas, 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji'"

Activity

  1. added
    editor-find
    on Aug 20, 2017
  2. added
    under-discussion
    on Nov 20, 2017
  3. rebornix commented on Nov 20, 2017

    @rebornix
    Contributor

    The style is decided by the browser and since we are using Chromium under the hood, it's Google's Emoji.

  4. rianadon commented on Nov 21, 2017

    @rianadon
    Contributor

    This may not be how it really works, but from my understanding this is how Windows displays emoji as a fallback when no specific "emoji font" is used.

    This can be fixed by adding 'Segoe UI Emoji' to the end of the editor.fontFamily setting so emojis fall back to the correct, colored font. Or you could use 'Segoe UI Symbol' instead to get monochrome emoji.

    Thus, building off the default setting, Consolas, 'Courier New', monospace, 'Segoe UI Emoji' would give you colored emoji. This should really be the default. But for now you could change this yourself to make the emoji display correctly.

  5. yzhang-gh commented on Nov 21, 2017

    @yzhang-gh
    Author

    rianadon many thanks!

  6. added
    font-rendering
    upstream
    and removed
    under-discussion
    on Nov 21, 2017
  7. rianadon commented on Nov 22, 2017

    @rianadon
    Contributor

    alexandrudima I wouldn't call this an issue with something upstream since there is a solution to solve this in Electron/Chromium - add all the emoji fonts to the font stack. For example GitHub uses the emoji fonts for both macOS and Windows in their CSS (along with the native system fonts): -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol".

    The fix to this would be to edit the default by appending Segoe UI Emoji and possibly the Apple emoji font too.

  8. removed
    upstream
    font-rendering
    on Nov 23, 2017
  9. 55 remaining items

  10. divyamrit commented on Jul 5, 2022

    @divyamrit

    Might you be right, I have my vim extension also enabled. Showing the same results never tried toggling it, let might this is an issue with the vim extension

  11. kartinul commented on Jul 6, 2022

    @kartinul

    here is the issue that was opened in VsCodeVim/Vim github
    VSCodeVim/Vim#7547

  12. bluelephant825 commented on Aug 5, 2022

    @bluelephant825

    I'm using VS Code Version: 1.70.0 (Universal)
    Commit: da76f93
    Date: 2022-08-04T04:38:55.829Z
    Electron: 18.3.5
    Chromium: 100.0.4896.160
    Node.js: 16.13.2
    V8: 10.0.139.17-electron.0
    OS: Darwin x64 21.6.0

    I'm neither using the Menlo font family nor Vim and some emojis appear in b&w instead of colour such as :red_heart:

    Running the following Python script:

    import emoji
    print(emoji.emojize('Python is :thumbs_up:'))
    print(emoji.emojize("I :red_heart: Python", variant="emoji_type"))
    print(emoji.emojize("Python is fun :softball:", variant="emoji_type"))
    

    Renders:

    Screenshot 2022-08-05 at 18 59 42

    VS Code font family settings:

    {
      "editor.fontLigatures": "'calt', 'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum'",
      "workbench.iconTheme": "material-icon-theme",
      "editor.fontFamily": "'Source Code Pro', 'Fira Code', 'Cascadia Code', 'Courier New', monospace",
      "editor.formatOnSave": true,
      "editor.wordWrap": "on",
      "editor.accessibilitySupport": "off",
      "editor.fontSize": 15,
      "terminal.integrated.env.osx": {
        "FIG_NEW_SESSION": "1"
      },
      "security.workspace.trust.untrustedFiles": "open",
      "terminal.integrated.inheritEnv": false,
      "editor.guides.bracketPairs": true,
      "editor.guides.bracketPairsHorizontal": true,
      "workbench.editor.enablePreview": false,
      "terminal.integrated.localEchoStyle": "dim",
      "terminal.integrated.fontFamily": "MesloLGS NF",
      "terminal.integrated.fontWeight": "normal"
    }
    
  13. 11xxx22 commented on Aug 25, 2022

    @11xxx22

    Alexandru Dima (@alexdima) ั‚ะตะฟะตั€ัŒ ัั‚ะพ ั€ะฐะฑะพั‚ะฐะตั‚ ะธ ะฒ intellisense?

    โœ…

  14. amir-khoshbakht commented on Mar 1, 2023

    @amir-khoshbakht

    It is easy to understand what emojis vsCode can show:
    emoji list website
    Capture

    All the emojis that are shown in color on this page are also shown in color in vsCode

    example of uncolored emoji:
    Capture2
    and the same exact emoji in my vsCode:
    Capture3

  15. Ali-Jahankah commented on Mar 14, 2023

    @Ali-Jahankah

    I'm using emojis in my vs code integrated terminal and you can add these settings to your settings.json file to see the emojis

    "terminal.integrated.cursorStyle": "line",
    "terminal.integrated.cursorWidth": 4,
    "terminal.integrated.cursorBlinking": true,
    "terminal.integrated.fontSize": 12,
    "terminal.integrated.fontFamily": "monospace",
    "terminal.integrated.letterSpacing": 1,
    "terminal.integrated.lineHeight": 1,

  16. mpacary commented on Mar 27, 2023

    @mpacary

    Ubuntu 22.04 / Gnome here ; recommended option 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback', 'Noto Color Emoji' did not work (e.g. "โš ๏ธ" was displayed b&w), as well as the cross platform one.

    After trying various combinations, this one worked:

    'Courier New', 'Noto Color Emoji'
    

    Poke Yu Zhang (@yzhang-gh) if you wish to update the top message ๐Ÿ˜‰

  17. redactedscribe commented on Apr 27, 2023

    @redactedscribe

    The information emoji (โ„น๏ธ) also doesn't display as expected (i.e. coloured): brave_2023-04-27_17-33-46

  18. felixhaeberle commented on May 16, 2023

    @felixhaeberle
    โ„น โœ… Using inlang config file at /Users/felixhaberle/Desktop/git/inlang/source-code/sdk-js/src/adapter-sveltekit/examples/test-app/inlang.config.js
    โ„น ๐ŸŒ Found 3 languages with a total of 6 messages.                                                                                        
    โ„น ๐Ÿ“ Translating to 2 languages. [de, es]                                                                                               
    โ„น ๐Ÿ‡ช๐Ÿ‡ธ Translated message welcome to Bienvenido a inlang                                                                                    
    โ„น ๐Ÿ‡ช๐Ÿ‡ธ Translated message machine-test to Esta es una prueba de mรกquina.                                                                     
    โ„น ๐Ÿ‡ช๐Ÿ‡ธ Translated message already-existing to Esta clave existe y es una prueba.       

    Just to let you know: The flags doesn't display correctly with the default settings.
    They getting displayed like [E][S] for Spain -> ๐Ÿ‡ช๐Ÿ‡ธ.

  19. tanpengsccd commented on Jul 10, 2023

    @tanpengsccd

    On MacOs, "Menlo" is actually breaking some emojis for me. I've installed the free Robot font from Google:

    https://fonts.google.com/specimen/Roboto+Mono

    and changed my editor.fontFamily to:

    "editor.fontFamily": "'Roboto Mono', 'Apple Color Emoji'"

    And it's a pretty acceptable alternative.

    It is perfect for mac user, like โ™ป๏ธ can't display the color.

  20. adrena11n commented on Jul 31, 2023

    @adrena11n

    ๋•๋ถ„์— 2022@alexdima! ๋‹ค์Œ์„ ์ œ๊ฑฐํ•˜์—ฌ macOS์—์„œ ์ด ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ–ˆ์Šต๋‹ˆ๋‹ค.Menlo``editor.fontFamily": "Monaco, 'Courier New', monospace",

    ์ด์ œ ๋ชจ๋“  ๊ฒƒ์ด ์˜ˆ์ƒ๋Œ€๋กœ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

    ๐Ÿ™Œ

    Thank you, you are save my life!

  21. p-i- commented on Jul 24, 2024

    @p-i-

    Monaco, 'Apple Color Emoji' works on my mac.
    โœ๏ธ โš ๏ธ โ˜ฃ๏ธ โ™ป๏ธ โ˜Ž๏ธ โ€ผ๏ธ โ‰๏ธ all render, although the last 2 come out white (not red).
    ref #223483

  22. gwyndoln commented on Jan 5, 2025

    @gwyndoln

    On windows 10: just download Segoe UI Emoji from windows 11, lost 3 hours with google and and found a solution on youtube
    https://www.youtube.com/watch?v=I4a7h40ZrzQ

  23. added
    macos
    windows
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

chromiumfont-renderingmacosupstreamwindows

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions