Skip to content

Commit

Permalink
更新订阅中文乱码问题
Browse files Browse the repository at this point in the history
  • Loading branch information
crazypeace committed Nov 16, 2024
1 parent bca055e commit ffd27db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions v2rayN/Base/WebClientEx.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Net;
using System.Text;

namespace v2rayN.Base
{
Expand All @@ -10,6 +11,7 @@ class WebClientEx : WebClient
public WebClientEx(int timeout = 3000)
{
Timeout = timeout;
this.Encoding = Encoding.UTF8;
}

protected override WebRequest GetWebRequest(Uri address)
Expand Down

0 comments on commit ffd27db

Please sign in to comment.