Permalink
Browse files

Fixed issues sites not being parses in UTf8 mode

  • Loading branch information...
1 parent 6926b72 commit 2231bedfe3334178485127f9ef3a62be789b7437 @TheRightChoyce committed Sep 14, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 DiffBotAPI/DiffBotAPI.cs
View
@@ -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

0 comments on commit 2231bed

Please sign in to comment.