Browse Source

Merge pull request #7303 from nicolas-grekas/c-locale

Force "C" locale to prevent issue with Turkish "I"
Jordi Boggiano 6 years ago
parent
commit
a3ed8484be
1 changed files with 1 additions and 0 deletions
  1. 1 0
      bin/composer

+ 1 - 0
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;