diff --git a/src/applications/diffusion/controller/DiffusionServeController.php b/src/applications/diffusion/controller/DiffusionServeController.php index 1d41d62efa..13290b9f41 100644 --- a/src/applications/diffusion/controller/DiffusionServeController.php +++ b/src/applications/diffusion/controller/DiffusionServeController.php @@ -466,7 +466,10 @@ final class DiffusionServeController extends DiffusionController { if ($err) { return new PhabricatorVCSResponse( 500, - pht('Error %d: %s', $err, $stderr)); + pht( + 'Error %d: %s', + $err, + phutil_utf8ize($stderr))); } return id(new DiffusionGitResponse())->setGitData($stdout);