Skip to content

Commit

Permalink
Fix encoding of outputted legend seeds file (#2025) #patch
Browse files Browse the repository at this point in the history
  • Loading branch information
IhateTrains authored Jun 30, 2024
1 parent 0e04bbc commit 41eeab0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ImperatorToCK3/Outputter/WorldOutputter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ private static async Task OutputLegendSeeds(string outputPath, LegendSeedCollect
Logger.Info("Writing legend seeds...");
await File.WriteAllTextAsync(
Path.Combine(outputPath, "common/legends/legend_seeds/IRtoCK3_all_legend_seeds.txt"),
PDXSerializer.Serialize(legendSeeds, indent: "", withBraces: false)
PDXSerializer.Serialize(legendSeeds, indent: "", withBraces: false),
new UTF8Encoding(encoderShouldEmitUTF8Identifier: true)
);
}

Expand Down

0 comments on commit 41eeab0

Please sign in to comment.