From 04353f3fdf53d4feb3f3f923c164ec9ba4962f88 Mon Sep 17 00:00:00 2001 From: wjq <1@qq.com> Date: Fri, 13 Dec 2024 08:09:50 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20sqlpackage=20=E7=AE=A1=E9=81=93=E8=BE=93?= =?UTF-8?q?=E5=87=BA=20=E4=B8=8D=E4=BD=BF=E7=94=A8=20UTF-8=E7=BC=96?= =?UTF-8?q?=E7=A0=81=E7=89=B9=E5=AE=9A=EF=BC=8C=E4=BD=BF=E7=94=A8=E5=8F=8D?= =?UTF-8?q?=E8=80=8C=E4=BC=9A=E4=B9=B1=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/LocalServer/StateHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/LocalServer/StateHelper.cs b/Server/LocalServer/StateHelper.cs index d5e03a0..79c4c11 100644 --- a/Server/LocalServer/StateHelper.cs +++ b/Server/LocalServer/StateHelper.cs @@ -346,7 +346,7 @@ public class DeployMSSqlHelper(LocalSyncServer context) { FileName = LocalSyncServer.SqlPackageAbPath, // The command to execute (can be any command line tool) Arguments = arguments, - StandardOutputEncoding = System.Text.Encoding.UTF8, + // StandardOutputEncoding = System.Text.Encoding.UTF8, // The arguments to pass to the command (e.g., list directory contents) RedirectStandardOutput = true, // Redirect the standard output to a string UseShellExecute = false, // Do not use the shell to execute the command