Debian and Ubuntu server locale and encoding

I recently had «fun» supporting server installation of software that needed locale set properly.

In Debian, you can just use

dpkg-reconfigure locales

and the console GUI will pop up.

In Ubuntu server, you’ll more steps to make^

http://askubuntu.com/questions/89976/how-to-change-the-default-locale-in-ubuntu-10-10-server

https://debian.pro/503

https://help.ubuntu.com/community/Locale

And make full use of UTF, please: http://docs.python.org/2/library/locale.html