question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Emoji don't display properly

See original GitHub issue

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 Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:9
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
cawoodmcommented, Jun 29, 2020

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.

1reaction
CEbbinghauscommented, Nov 2, 2022

@cawoodm Sorry to reply to such a old thread but this might be something others find useful too. For Powershell 5.1 to print emoji’s that are hard coded into the text file e.g

echo "Done ✅"

you have to save the file with UTF8-BOM encoding. For some reason it doesn’t pick up on the UTF8 unless it has the BOM whereas newer versions of PowerShell automatically detect any UTF8.

Hope this helps someone with the same problem I had.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Certain emoji not displaying correctly? : r/firefox
I've noticed with Firefox the emoji "Eye in Speech Bubble" doesn't display correctly. When typing in a field in Firefox and I enter...
Read more >
Emoji don't show up properly – why? ...
Whenever I include an emoji on my website (link included in this post in the destinated box) it doesn't show up properly.
Read more >
Html character emoji does not render
To display emojis correctly, you need to use a font which has these emojis defined and set the <span> (or your whole page)...
Read more >
Why Other People Can't See Your Emojis and How to Fix It
Blocked emojis​​ You're probably not going to radically misunderstand someone just because an emoji was drawn differently, but the real problems ...
Read more >
Emoji characters not displaying correctly on Windows 7
Emoji characters not displaying correctly on Windows 7 ... to read them on my PC (running Windows 7) it doesn't know how to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found