locales - weakish/cheat GitHub Wiki

Sometimes the OS uses the default POSIX_C locale, but we want to use UTF-8.

apt-get install locales

Configure en_US.UTF-8 as the default locale.

If locales is already installed, use dpkg-reconfigure locales.