Skip to content

Commit

Permalink
Merge pull request #23 from koder-man/fix-encoding
Browse files Browse the repository at this point in the history
#22: Save generated IgnoresAccessChecksTo.cs file with UTF8 encoding
  • Loading branch information
aelij authored Oct 18, 2024
2 parents 47fbd6e + b6bce6e commit 9d69bcc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public IgnoresAccessChecksToAttribute(string assemblyName)
}
}
}";
File.WriteAllText(GeneratedCodeFilePath, content);
File.WriteAllText(GeneratedCodeFilePath, content, System.Text.Encoding.UTF8);

Log.LogMessageFromText("Generated IgnoresAccessChecksTo attributes", MessageImportance.Low);
}
Expand Down

0 comments on commit 9d69bcc

Please sign in to comment.