Fix for PHP Composer “????%” issue

I’ve had a problem on a few older projects where composer dies with “????%” after running composer update. The problem is that the PHP version is too old, usually a version of 5.3.x, and can’t handle unicode correctly. So if you are seeing the following:

The fix for PHP Composer “????%” issue is:

Of course, the better solution would be to upgrade your PHP version.