diff --git a/src/GitElephant/Command/Caller/Caller.php b/src/GitElephant/Command/Caller/Caller.php index e2eed0a2..80e37ab6 100644 --- a/src/GitElephant/Command/Caller/Caller.php +++ b/src/GitElephant/Command/Caller/Caller.php @@ -106,6 +106,9 @@ public function execute($cmd, $git = true, $cwd = null, $acceptedExitCodes = arr $cmd = $this->binary->getPath() . ' ' . $cmd; } + // We rely on the C locale in all output we parse. + $cmd = 'LC_ALL=C ' . $cmd; + $process = new Process($cmd, is_null($cwd) ? $this->repositoryPath : $cwd); $process->setTimeout(15000); $process->run();