「能不能好好说话?」的 powershell 版本

April 27, 2022 · View on GitHub

基于 @itorr 的项目「能不能好好说话?」的 powershell 版本。

使用

文件编码适用版本
nbnhhsh.ps1utf8PowerShell v6.0+
nbnhhsh-utf8bom.ps1utf8bomWindows PowerShell

In Windows PowerShell, any Unicode encoding, except UTF7, always creates a BOM. PowerShell (v6 and higher) defaults to utf8NoBOM.

下载根目录下的 nbnhhsh.ps1nbnhhsh-utf8bom.ps1 到本地,执行该脚本即可。

demo

致谢