We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c2b42d commit 20bb284Copy full SHA for 20bb284
netmockery/Program.cs
@@ -6,6 +6,7 @@
6
using System.IO;
7
using System.Linq;
8
using System.Reflection;
9
+using System.Text;
10
using System.Threading.Tasks;
11
using static System.Console;
12
@@ -33,6 +34,10 @@ private static IWebHost CreateWebHost(string contentRoot)
33
34
35
public static void Main(string[] args)
36
{
37
+ if (IsOutputRedirected)
38
+ {
39
+ OutputEncoding = Encoding.UTF8;
40
+ }
41
System.Net.ServicePointManager.ServerCertificateValidationCallback =
42
((sender, certificate, chain, sslPolicyErrors) => true);
43
if (args.Length >= 1)
0 commit comments