From e0eb4283545c8c883ca272d1d706f9687856ea7a Mon Sep 17 00:00:00 2001 From: Thaina Yu Date: Thu, 23 Nov 2023 17:56:05 +0700 Subject: [PATCH] Update Program.cs set StandardInputEncoding to UTF8 without BOM --- Editor/Mono/Utils/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Editor/Mono/Utils/Program.cs b/Editor/Mono/Utils/Program.cs index a4dd94b420..a53ab53fbd 100644 --- a/Editor/Mono/Utils/Program.cs +++ b/Editor/Mono/Utils/Program.cs @@ -47,6 +47,7 @@ public void Start(EventHandler exitCallback) _process.StartInfo.RedirectStandardInput = true; _process.StartInfo.RedirectStandardError = true; _process.StartInfo.RedirectStandardOutput = true; + _process.StartInfo.StandardInputEncoding = new UTF8Encoding(false); _process.StartInfo.UseShellExecute = false; _process.Start();