Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many emojis and other non-ascii characters are having troubles to be shown #4512

Closed
AmyrAhmady opened this issue Feb 9, 2020 · 7 comments
Closed
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@AmyrAhmady
Copy link

Hello there, today I finally wanted to try new windows terminal, for a project that has emojis in it and I found this terminal very suitable for this, but I'm kinda having some problems with it, Emojis aren't shown as it should, many of them are shown as question marks, some work
but here's the interesting part, if current window gets updated (like resizing it), everything suddenly works and those question marks turn into emojis
here's a GIF to show what I'm currently experiencing:
2

Environment

Microsoft Windows [Version 10.0.18363.592]
Windows Terminal version: Latest from MS Store (0.8.10261.0)

Steps to reproduce

No clue, asked a few friends and some where experiencing the same issue as mine, it's more like default thing for us.

Expected behavior

Showing emojis without any issue

Actual behavior

printing out question marks

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Feb 9, 2020
@j4james
Copy link
Collaborator

j4james commented Feb 9, 2020

This sounds like a duplicate of #1503 and/or #529.

@AmyrAhmady
Copy link
Author

seems like it, this works for me as well :
#1503 (comment)

@theuserbl
Copy link

It is also interesting, which files are displayed with emojis.

notepad.exe can create text files in "UTF-16 LE" (little endian), "UTF-16 BE" (big endian), "ANSI", "UTF-8" and "UTF-8 with BOM" (with Byte Order Mark).
Only the unicode formats (UTF) can save emojis.

.... Windows PowerShell ... cmd ... Ubuntu 19.10 Terminal .. PowerShell 6.2.4 on Ubuntu
UTF-8 ........... no ...... no .............. yes ................... yes .............
UTF-8 with BOM .. yes ..... no .............. yes ................... yes .............
UTF-16 LE ....... yes ..... yes ............. no .................... yes .............
UTF-16 BE ....... yes ..... no .............. no .................... yes .............

With Ubuntu I don't mean WSL. Its the complete Ubuntu on VirtualBox.

@j4james
Copy link
Collaborator

j4james commented Feb 9, 2020

@theuserbl FYI, you can get better results displaying UTF-8 files in the cmd shell by changing the codepage to UTF-8 (with chcp 65001).

@zadjii-msft
Copy link
Member

@cinnamon-msft @miniksa I think for 1.0, we'll need to have a doc that outlines where emoji will and won't work in the Terminal. Like enumerate the fact that the cmd (et. al) cooked read won't support it, but ubuntu/wsl in general will. I think this might help stem the flow of "emoji doesn't work" issues, if we had a doc pointing to various scenarios and why they don't work.

@DHowett-MSFT
Copy link
Contributor

I'm going to close this one as a /dupe of #1503, which i've renamed to contain a bit more information.

@ghost
Copy link

ghost commented Feb 10, 2020

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed Feb 10, 2020
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Feb 10, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

5 participants