Use unicode for standardoutput. Fixes weird characters in logs but needs the latest mono

This commit is contained in:
Hylke Bons 2011-04-21 19:45:11 +02:00
parent 6b37f96ddf
commit 949e2ed464

View file

@ -790,6 +790,7 @@ namespace SparkleLib {
List <SparkleCommit> commits = new List <SparkleCommit> ();
SparkleGit git_log = new SparkleGit (LocalPath, "log -" + count + " --raw --date=iso");
Console.OutputEncoding = System.Text.Encoding.Unicode;
git_log.Start ();
// Reading the standard output HAS to go before