PowerShell 重定向写出中文乱码 2024-06-05·命令行·难度 2/5·约 2 分钟 用 Out-File 或 > 生成的中文文件被其它程序读成乱码,原因是 Windows PowerShell 默认不写 UTF-8。 命令行PowerShell编码Windows
PowerShell 里 && 不能用来连接命令 2024-05-22·命令行·难度 1/5·约 1 分钟 从文档里复制来的 npm run build && npm run serve 在 Windows 上直接报错,因为 && 是 PowerShell 7 才支持的语法。 命令行PowerShellWindows