Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed issues sites not being parses in UTf8 mode

  • Loading branch information...
commit 2231bedfe3334178485127f9ef3a62be789b7437 1 parent 6926b72
@TheRightChoyce authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 DiffBotAPI/DiffBotAPI.cs
View
7 DiffBotAPI/DiffBotAPI.cs
@@ -99,6 +99,13 @@ private bool IsValidUrl( string url, out System.Uri uri )
}
return true;
}
+
+ private WebClient GetWebClient( )
+ {
+ var client = new WebClient( );
+ client.Encoding = System.Text.Encoding.UTF8;
+ return client;
+ }
#endregion
#region Fallback helpers
Please sign in to comment.
Something went wrong with that request. Please try again.