Skip to content

Update Program.cs #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 2023.1
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update Program.cs
set StandardInputEncoding to UTF8 without BOM
  • Loading branch information
Thaina authored Nov 23, 2023
commit e0eb4283545c8c883ca272d1d706f9687856ea7a
1 change: 1 addition & 0 deletions Editor/Mono/Utils/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down