Fix Locale Errors on Ubuntu

Nathaniel Sep 02, 2016

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 ~/.bashrc:

Then execute:

That’s it. Problem solved.