If CocoaPods is only supported in environments where the locale is set to UTF-8 it should print a warning or abort with an informative in case this requirement is not satisfied.
Should we warn when running pod install or when they actually install the gem itself?
It’s probably best to do this when the user runs a pod command (not just install, though). This way they can try to fix it and run again until it works as expected.
The gem installation process doesn’t allow for much customisation and it takes longer to restart the process, so it will probably be far more annoying that way.
I would add the check in this file: https://github.com/CocoaPods/CocoaPods/blob/master/bin/pod
Revert "Merge pull request #1542 from CocoaPods/remove_unsuported_req…
This reverts commit 3580763, reversing
changes made to 45c695a.