Powershell: Emoji don't display properly

Created on 24 May 2018  Â·  4Comments  Â·  Source: PowerShell/PowerShell

I have a command line app that outputs warnings using âš  - this fails on pwsh 6.1 beta.

Steps to reproduce

echo âš 

Expected behavior

âš 

Actual behavior

image

[?][?]

Environment data

Name                           Value
----                           -----
PSVersion                      6.1.0-preview.2
PSEdition                      Core
GitCommitId                    v6.1.0-preview.2
OS                             Microsoft Windows 10.0.17672
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Issue-Question Resolution-Answered WG-Interactive-Console

Most helpful comment

I cannot get any emojis out on powershell (5) regardless of which terminal I use. NodeJS applications do show them and even the VSCode editor of my PowerShell shows them so I think it's a PowerShell issue.

All 4 comments

Might actually be a Windows console issue, but will let you decide!

I run into the same problem with 日本語.

This is a console issue. And more specifically a font issue. There is a decent work around involving adding a font to the console as well as confirmation that work to fix this in the console is underway here https://github.com/Microsoft/WSL/issues/75#issuecomment-391155429

I cannot get any emojis out on powershell (5) regardless of which terminal I use. NodeJS applications do show them and even the VSCode editor of my PowerShell shows them so I think it's a PowerShell issue.

Was this page helpful?
0 / 5 - 0 ratings