https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.processstartinfo.standardoutputencoding?view=net-10.0&redirectedfrom=MSDN
ProcessStartInfo.StandardOutputEncoding Property (System.Diagnostics) | Microsoft Learn
Gets or sets the preferred encoding for standard output.
property systemdiagnosticsmicrosoftlearn