Commit cf1e1b85 authored by 罗显健's avatar 罗显健

SQL脚本执行工具解码格式设置为UTF-8.

parent ba978659
......@@ -245,9 +245,9 @@
this.label3.ForeColor = System.Drawing.Color.DarkGoldenrod;
this.label3.Location = new System.Drawing.Point(22, 9);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(524, 17);
this.label3.Size = new System.Drawing.Size(566, 17);
this.label3.TabIndex = 23;
this.label3.Text = "*注:SQL文件,根据添加客户时维护的数据库链接执行;更新包,通过添加客户时维护的FTP上传";
this.label3.Text = "*注:SQL文件(UTF-8),根据添加客户时维护的数据库链接执行;更新包,通过添加客户时维护的FTP上传";
//
// frmMain
//
......
......@@ -381,7 +381,7 @@ namespace UpdateExecuter
List<string> lstSql = null;
if (!conDicFileScript.ContainsKey(file.FullName))
{
lstSql = Utils.SliceSingleFileScript(File.ReadAllText(file.FullName, System.Text.Encoding.Default));
lstSql = Utils.SliceSingleFileScript(File.ReadAllText(file.FullName, System.Text.Encoding.UTF8)); // 更改为指定的编码格式 2022-04-23 09:04:24 lxj。
conDicFileScript.TryAdd(file.FullName, lstSql);
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment