Fix encoding issue

pull/293/head
双草酸酯 2019-12-05 17:29:43 +08:00 committed by GitHub
parent fe15fde594
commit 45c74cfe59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -150,6 +150,7 @@ namespace v2rayN.Handler
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.StandardOutputEncoding = Encoding.UTF8;
p.OutputDataReceived += new DataReceivedEventHandler((sender, e) =>
{
if (!String.IsNullOrEmpty(e.Data))