Skip to content

Commit

Permalink
fixing file encodingç now it's UTF-8 without BOM by default and it works
Browse files Browse the repository at this point in the history
:)
  • Loading branch information
salaros committed Jun 19, 2018
1 parent 067a5fc commit 8e4ee1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/WakaTime.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Salaros.ConfigParser" Version="0.2.6" />
<PackageReference Include="Salaros.ConfigParser" Version="0.2.8" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" Condition="'$(TargetFramework)' != 'net45'" />
<PackageReference Include="DotNetZip" Version="1.11.0" Condition="'$(TargetFramework)' == 'net40'" />
<Reference Include="System.Web.Extensions" Condition="'$(TargetFramework)' == 'net45'" />
Expand Down
2 changes: 1 addition & 1 deletion src/WakaTimeConfigFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ static WakaTimeConfigFile()
ConfigParser = new ConfigParser(ConfigFilepath, new ConfigParserSettings
{
MultiLineValues = MultiLineValues.Simple | MultiLineValues.QuoteDelimitedValues,
Encoding = new UTF8Encoding(false),
Encoding = new UTF8Encoding(false, false),
NewLine = "\n"
});
Read();
Expand Down

0 comments on commit 8e4ee1f

Please sign in to comment.