Set UTF8 encoding for git commands
This commit is contained in:
parent
23d7166012
commit
613625c5bf
|
@ -41,6 +41,7 @@ namespace Sparkles {
|
|||
StartInfo.WorkingDirectory = Path.GetTempPath ();
|
||||
StartInfo.CreateNoWindow = true;
|
||||
StartInfo.RedirectStandardOutput = true;
|
||||
StartInfo.StandardOutputEncoding = System.Text.Encoding.UTF8;
|
||||
StartInfo.RedirectStandardError = true;
|
||||
StartInfo.UseShellExecute = false;
|
||||
|
||||
|
|
|
@ -99,7 +99,8 @@ namespace Sparkles.Git {
|
|||
SetEnvironmentVariable ("PREFIX", "");
|
||||
SetEnvironmentVariable ("HOME", "");
|
||||
|
||||
SetEnvironmentVariable ("LANG", "en_US");
|
||||
SetEnvironmentVariable ("LANG", "en_US.UTF8");
|
||||
SetEnvironmentVariable ("LC_ALL", "en_US.UTF8");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue