Trilogy
When the following error occurs
UnicodeEncodeError: 'utf-8' codec can't encode
And
Please check your locale settings. The filename was decoded as: ANSI_X3.4-1968 On posix platforms, check the LC_CTYPE environment variable.
Go to python3
$ yum install python34 #Or yum search python|Search with grep 3
$ yum install python34-setuptools #This is easy_install to use
At this point there are two or three easy_installs
```shell-session:For example, like this
-rwxr-xr-x 1 root root 323 November 12 09:38 2010 /usr/bin/easy_install
-rwxr-xr-x 1 root root 331 November 12 09:38 2010 /usr/bin/easy_install-2.6
-rwxr-xr-x 1 root root 334 October 11 00:17 2016 /usr/bin/easy_install-3.4
```
Start over
$aws s3
If that doesn't work, set the language properly With sjis, it looks like the following
LANG="ja_JP.sjis"
LC_CTYPE="ja_JP.sjis"
SUPPORTED="ja_JP.sjis:ja_JP:ja"
SYSFONT="latarcyrheb-sun16"
You can check the locales that can be used here below
```shell-session
$ locale -a
```
Since there was no sjis, I added it like the following
```shell-session
$ localedef -f SHIFT_JIS -i ja_JP ja_JP.SJIS
```
reference