Closed tusan-tsvetkoff closed 1 year ago
Apparently I am a bit of an idiot. Had never installed the Windows Terminal from the Windows Store. Installed it and fixed all my issues.
The non-WindowsTerminal terminals (i.e. cmd
and the like) are not able to display 5 digit unicode codepoints, due to the software design. Microsoft uses UTF16 internally (instead of the now ubiquitous UTF8) but only 1 wchar_t
value per character, so ...
A nice explanation can be found here: https://devblogs.microsoft.com/commandline/windows-command-line-unicode-and-utf-8-output-text-buffer/
The way to go is to use Windows Terminal (as you found out), the modern alternative.
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference.
🎯 Subject of the issue
Experienced behavior: Running
ls
inside VsCode's integrated terminal:Running
ls
inside my PowerShell (in the same directory):I should also note that nvim's webdevicons are having the same behavior in Neovim, as in, not displaying properly (<?> instead of that actual glyph/icon).
What I've concluded is that it seems to be related to all the
md
glyphs. I've also made sure to updateoh-my-posh
, as well as running this commandoh-my-posh config migrate glyphs --write
Expected behavior:
Ideally, the '<?>' icons in PowerShell should be whatever they are in VsCode's integrated terminal, which is also running PowerShell as far as I am concerned.
Example symbols:
From PowerShell: 󰪷 README.md 󰙨 tests <- directory
From VsCode's terminal: 󰪷 README.md 󰙨 tests
🔧 Your Setup
Anonymice Powerline Nerd Font Complete.ttf
)?settings.json
, this is how it appears inside my Properties selection:JetBrains Nerd Font Mono
iterm2
,urxvt
,gnome
,konsole
)?★ Screenshots (Optional)
From within PowerShell:
Properties: