From 658685744b776d773d38dcc27e7872aad430b74c Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Wed, 2 May 2018 17:17:22 -0700 Subject: [PATCH] Force "C" locale to prevent issue with turkish "I" --- bin/composer | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/composer b/bin/composer index 0664e04ce..57baebc2e 100755 --- a/bin/composer +++ b/bin/composer @@ -5,6 +5,7 @@ if (PHP_SAPI !== 'cli') { echo 'Warning: Composer should be invoked via the CLI version of PHP, not the '.PHP_SAPI.' SAPI'.PHP_EOL; } +setlocale(LC_ALL, 'C'); require __DIR__.'/../src/bootstrap.php'; use Composer\Factory;