How can I change the default codepage/charset on a linux system from latin1 to utf8? I need to do this on two systems, one is running Ubuntu and the other Debian.
Regenerate the supported locales on your machine:
sudo dpkg-reconfigure locales
if they are not, you can manually update them now.
If you also need to switch latin1 encoded filenames to utf-8, use
This will only show what it would do. Add the