diff --git a/App.config b/App.config index 0da5351..2d4d451 100644 --- a/App.config +++ b/App.config @@ -12,7 +12,7 @@ - + diff --git a/Control/Windows/ToDoWindow.xaml b/Control/Windows/ToDoWindow.xaml index 3152974..99dc6e6 100644 --- a/Control/Windows/ToDoWindow.xaml +++ b/Control/Windows/ToDoWindow.xaml @@ -29,7 +29,7 @@ - + diff --git a/Control/Windows/UpdateWindow.xaml b/Control/Windows/UpdateWindow.xaml index 975f8f2..17579cd 100644 --- a/Control/Windows/UpdateWindow.xaml +++ b/Control/Windows/UpdateWindow.xaml @@ -10,7 +10,7 @@ WindowStyle="None" AllowsTransparency="True" Background="Transparent" ShowInTaskbar="False"> - + diff --git a/Update.json b/Update.json index cf7877e..5e83774 100644 --- a/Update.json +++ b/Update.json @@ -2,7 +2,7 @@ "title" : "汾", "subTitle" : "V1.0-beta", "msgTitle" : "θ", - "msg" : "[²],[²2]", + "msg" : "['²1','²2']", "githubUrl" : "https://github.com/Demo-Liu/GeekDesk/releases/tag/1.0-beta", "giteeUrl" : "https://gitee.com/demo_liu/GeekDesk/releases/1.0-beta", "version": "1.0-beta" diff --git a/Util/HttpUtil.cs b/Util/HttpUtil.cs index 9a96fa2..ccfaf04 100644 --- a/Util/HttpUtil.cs +++ b/Util/HttpUtil.cs @@ -20,7 +20,7 @@ namespace GeekDesk.Util //通过Web访问对象获取响应内容 HttpWebResponse myResponse = (HttpWebResponse)myRequest.GetResponse(); //通过响应内容流创建StreamReader对象,因为StreamReader更高级更快 - StreamReader reader = new StreamReader(myResponse.GetResponseStream(), Encoding.UTF8); + StreamReader reader = new StreamReader(myResponse.GetResponseStream(), Encoding.GetEncoding("gbk")); string returnStr = reader.ReadToEnd();//利用StreamReader就可以从响应内容从头读到尾 reader.Close(); myResponse.Close();