Try this instead and change the setting on the fly, just for this command
curl -sS https://getcomposer.org/installer | php -d detect_unicode=Off
Try this instead and change the setting on the fly, just for this command
curl -sS https://getcomposer.org/installer | php -d detect_unicode=Off