Created
December 21, 2012 12:18
-
-
Save garuma/4352468 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/MonkeyWrench.Database/SchedulerGIT.cs b/MonkeyWrench.Database/SchedulerGIT.cs | |
index 7ea1b94..d6df370 100755 | |
--- a/MonkeyWrench.Database/SchedulerGIT.cs | |
+++ b/MonkeyWrench.Database/SchedulerGIT.cs | |
@@ -338,6 +338,8 @@ namespace MonkeyWrench.Scheduler | |
git.StartInfo.UseShellExecute = false; | |
git.StartInfo.RedirectStandardOutput = true; | |
git.StartInfo.RedirectStandardError = true; | |
+ git.StartInfo.StandardOutputEncoding = System.Text.Encoding.UTF8; | |
+ git.StartInfo.StandardErrorEncoding = System.Text.Encoding.UTF8; | |
Log ("Executing: '{0} {1}' in {2}", git.StartInfo.FileName, git.StartInfo.Arguments, cache_dir); | |
git.OutputDataReceived += delegate (object sender, DataReceivedEventArgs e) | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment