Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Walterwhatwater authored and Walterwhatwater committed Mar 6, 2017
1 parent 421bd36 commit 7bf289a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ private string GetContent(Site site, HttpResponseMessage response)
contentBytes = PreventCutOff(contentBytes);
if (string.IsNullOrEmpty(site.EncodingName))
{
Encoding htmlCharset = Encoding.Default;
Encoding htmlCharset = Encoding.GetEncoding("UTF-8");
return htmlCharset.GetString(contentBytes, 0, contentBytes.Length);
}
else
Expand Down
2 changes: 1 addition & 1 deletion src/DotnetSpider2.Core/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.10-*",
"version": "1.0.11-*",
"authors": [ "Lewis Zou", "Walterwhatwater", "xiaohuan0204" ],
"description": "Offical package. DotnetSpider is a high performance, light weight cralwer developed by C#.",
"packOptions": {
Expand Down
4 changes: 4 additions & 0 deletions src/DotnetSpider2.Demo/netfx45/DotnetSpider.Demo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@
<Project>{28dadca2-9053-4222-a813-a73dd0fe7f2f}</Project>
<Name>DotnetSpider.Core</Name>
</ProjectReference>
<ProjectReference Include="..\..\DotnetSpider2.Extension\netfx45\DotnetSpider.Extension.csproj">
<Project>{ddb5a085-6219-4a95-8cd8-ddcf3a54b962}</Project>
<Name>DotnetSpider.Extension</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\BaseUsage.cs">
Expand Down

0 comments on commit 7bf289a

Please sign in to comment.