Skip to content

Commit

Permalink
fix ugc query results encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
alekny committed Aug 8, 2023
1 parent aa402bc commit 3f301fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TF2CompRosterChecker/UGCChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Threading;
Expand Down Expand Up @@ -46,6 +47,7 @@ public override List<Player> ParseData(LeagueFormat leagueformat, IProgress<int>
{
try
{
wc.Encoding = Encoding.UTF8;
webcontent = wc.DownloadString(string.Concat(BaseUrl, id)).Replace("\n", string.Empty);
//Console.WriteLine(string.Concat(baseApiUrl, SteamIDTools.steamID3ToSteamID64(this.steamIDs[i])).Replace("\n", string.Empty));
//Console.WriteLine(webcontent);
Expand Down

0 comments on commit 3f301fb

Please sign in to comment.