A little discussion on Unicode characters display in PS native console (not the one inside ISE)
I’ve seen in another thread posted in 2015 that “(Microsoft) made some improvement to the W32Console in Windows 10”. But we are end of 2020 and obviously, such support is still missing.
For those who are interested:
<p style=“padding-left: 40px;”>Create a ps1 file containing write-host “ção `n一二三”
and save the file using UTF-16 BE with BOM
Run the ps1 file to see the result which depends on your Windows’ regional settings</p>
How is the Unicode support of PowerShell in Linux?
Unicode characters display support is good inside ISE’s console. Is it possible to use just the ISE’s console without the whole ISE?
Take a look at Visual Studio Code. The ISE is as far as it’s going to go and it is an emulator and it is up to Powershell 5.1. Using VSCode and testing in Linux, you can test in Powershell 7+ to see if you see the same behavior. I use ISE when I need to do quick edits in on a server, but do 95% development in VSCode. With all of that said, I do not deal with UniCode characters, but test in VSCode + PS 7 to see if it works as expected.
@Rob, yes, I also use VSCode from time to time. But regarding the console inside VSCode, that’s the same situation as that inside ISE. I just want the console to execute script. I found no way to have only the console without VSCode.
Wow! Fantastic! Exactly what I was looking for! It opens so fast. And indeed it supports Unicode flawlessly.
I mainly run scripts inside Windows Server. So I’m still looking at how to get it installed in Windows Server 2016 Seems like I have to do something with MSIX