Just installed the AWS CLI on my Mac and encountered the 'unknown encoding' error when I first tried to use it:
$ aws ec2 describe-instances
unknown encoding:
$
This is caused by the default encoding not being set in Python. There's a couple different ways to go about setting it but the