From 2375569f96834d6255888f0e9d890db6da19b020 Mon Sep 17 00:00:00 2001 From: Wanderingss <1624155937@qq.com> Date: Sun, 20 Sep 2026 02:48:56 +0800 Subject: [PATCH] =?UTF-8?q?test=EF=BC=9Arun=5Fboot=5Ftest.ps1=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=E8=AF=BB=E5=8F=96=E6=98=BE=E5=BC=8F?= =?UTF-8?q?=20UTF-8=EF=BC=88PS5.1=20=E6=8C=89=20GBK=20=E8=A7=A3=E7=A0=81?= =?UTF-8?q?=E8=87=B4=20JSON=20=E8=A7=A3=E6=9E=90=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/run_boot_test.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run_boot_test.ps1 b/test/run_boot_test.ps1 index 41e5b925..a7458671 100644 --- a/test/run_boot_test.ps1 +++ b/test/run_boot_test.ps1 @@ -61,7 +61,7 @@ $cfgFile = Join-Path $repoRoot ".opencode\serial_config.json" # -Port default: the single source of truth is .opencode/serial_config.json if (-not $Port) { if (Test-Path -LiteralPath $cfgFile) { - $Port = (Get-Content -LiteralPath $cfgFile -Raw | ConvertFrom-Json).portName + $Port = (Get-Content -LiteralPath $cfgFile -Raw -Encoding UTF8 | ConvertFrom-Json).portName } } if (-not $Port) {