SublimeText / PowerShell

Support for the MS PowerShell programming language.
MIT License
312 stars 80 forks source link

Console output to support Unicode #167

Open stephen147 opened 3 years ago

stephen147 commented 3 years ago

Is it possible to change a setting that will output to the console when building such characters?

Write-Host "Mac'IllÌosa, what 👨‍👩‍👦 is this?' 👨‍👩‍👦 😹🤗"

In the console I get this:

Mac'Ill�Oosa, what �Y'��??�Y'��??�Y'� is this?' �Y'��??�Y'��??�Y'� �Y~��Y�-
antoningfors commented 1 year ago

I am having the same type of problems made another issue about it #170

One simple solution is to enable UTF-8 in Windows.

Open intl.cpl and click the UTF-8 button under Change system locale...

image