Fix Locale Errors on Ubuntu
Recently I rented quite a few droplets (VPS) from DigitalOcean.
I don’t know why but those newly created droplets all got some locale errors.
After some research, I finally came to a perfect solution for all these different but related problems:
First, add the following lines to
export LC_ALL="en_US.UTF-8" export LC_CTYPE="en_US.UTF-8"
$ sudo dpkg-reconfigure locales
That’s it. Problem solved.