Skip to content

Commit

Permalink
Disabled CodePagesEncodingProvider to remove dependencies (not used h…
Browse files Browse the repository at this point in the history
…ere)
  • Loading branch information
bm98 committed Jan 31, 2023
1 parent 565a195 commit cc596ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions FlightplanLib/FlightplanLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@
<PackageReference Include="System.Runtime.Serialization.Json">
<Version>4.3.0</Version>
</PackageReference>
<PackageReference Include="System.Text.Encoding.CodePages">
<Version>7.0.0</Version>
</PackageReference>
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand Down
4 changes: 2 additions & 2 deletions FlightplanLib/MS/MSiniFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ private void SetEncodingUNICODE( )
// Set the File Encoding to ANSI
private void SetEncodingANSI( )
{
_encoding = CodePagesEncodingProvider.Instance.GetEncoding( 1252 );
// DISABLED IN FlightBag Implementation
// _encoding = CodePagesEncodingProvider.Instance.GetEncoding( 1252 );
}


/// <summary>
/// Returns true if the file is valid
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion SettingsLib
Submodule SettingsLib updated from acd2a8 to d9666c

0 comments on commit cc596ba

Please sign in to comment.