From ff779d6932ba7c383bb288ab8456078b87887256 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Thu, 21 Apr 2011 19:45:11 +0200 Subject: [PATCH] Use unicode for standardoutput. Fixes weird characters in logs but needs the latest mono --- SparkleLib/SparkleRepo.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/SparkleLib/SparkleRepo.cs b/SparkleLib/SparkleRepo.cs index f5a31c1e..a3720ec1 100644 --- a/SparkleLib/SparkleRepo.cs +++ b/SparkleLib/SparkleRepo.cs @@ -790,6 +790,7 @@ namespace SparkleLib { List commits = new List (); 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