Deno: Dino extinct on Windows

Created on 16 Feb 2019  Â·  4Comments  Â·  Source: denoland/deno

cmd.exe doesn't properly render the 🦕 from welcome.js.

C:\>deno https://deno.land/welcome.js
Welcome to Deno 🦕

This is potentially confusing to newcomers.

Most helpful comment

The new (beta) Windows Terminal correctly displays emojis and resolves this issue (screenshot attached).

Project: https://github.com/microsoft/terminal
Store link: https://www.microsoft.com/en-us/p/windows-terminal-preview

welcome ts

All 4 comments

cmd.exe doesn't support unicode... In theory we should have some information in the Deno namespace the provides information about the support of the console it is running under and be able to then allow code to feature switch.

Not sure about cmd.exe but I believe https://github.com/denoland/deno/pull/1485 will fix powershell.

The windows console doesn't support emoji at the moment, although supposedly msft people are working on that.

(Note that whether you're using cmd.exe or powershell is irrelevant, much like you wouldn't say that bash/zsh does or doesn't support emoji. Displaying characters is a feature of the terminal application, not the shell.)

The new (beta) Windows Terminal correctly displays emojis and resolves this issue (screenshot attached).

Project: https://github.com/microsoft/terminal
Store link: https://www.microsoft.com/en-us/p/windows-terminal-preview

welcome ts

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ry picture ry  Â·  3Comments

motss picture motss  Â·  3Comments

doutchnugget picture doutchnugget  Â·  3Comments

ry picture ry  Â·  3Comments

CruxCv picture CruxCv  Â·  3Comments