Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Powershell 动力壳中的星际飞船符号_Powershell_Unicode - Fatal编程技术网

Powershell 动力壳中的星际飞船符号

Powershell 动力壳中的星际飞船符号,powershell,unicode,Powershell,Unicode,有没有可能看到一个漂亮的外观,有符号,有星际飞船在能量地狱? 我已经尝试了一切可以想象的方法,让Fira代码字体在控制台中显示符号,但最终总是以??相反 我知道字体安装正确,因为我可以在记事本和其他应用程序中使用Fira代码。但即使我为PowerShell选择了正确的字体,它也不会显示任何符号。我在Windows 10中启用了“使用unicode实现全球语言支持”,在Powershell中运行chcp将返回活动代码页:65001 有人真的成功了吗?在Macos和Ubuntu中工作得很好,但我无法

有没有可能看到一个漂亮的外观,有符号,有星际飞船在能量地狱? 我已经尝试了一切可以想象的方法,让Fira代码字体在控制台中显示符号,但最终总是以??相反

我知道字体安装正确,因为我可以在记事本和其他应用程序中使用Fira代码。但即使我为PowerShell选择了正确的字体,它也不会显示任何符号。我在Windows 10中启用了“使用unicode实现全球语言支持”,在Powershell中运行chcp将返回活动代码页:65001


有人真的成功了吗?在Macos和Ubuntu中工作得很好,但我无法在Powershell中正确使用它。顺便说一下,我已经尝试了Powershell和Powershell Core。

尝试ISE、Vscode或Windows终端。Powershell 7与Powershell 5。

Fira代码在中似乎工作正常,您只需更新Powershell的配置文件设置:


是的,Windows终端似乎是唯一的解决方案。糟糕的是,它不能直接在Powershell或WSL中工作,但我也可以使用Windows终端。这个文件位于哪里@PrimeByDesign
$installDir\LocalState\settings.json
,您可以通过单击顶部栏上的向下箭头并选择
settings
(或按
[Ctrl+,]
)来打开它。哦,是的,我找到了它。。。非常感谢。我意识到我实际上需要vscode的settings.json
"profiles":
[
    {
        "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
        "hidden": false,
        "name": "PowerShell",
        "source": "Windows.Terminal.PowershellCore",
        "fontFace": "Fira Code",
        "fontSize": 16
    }

]