Change locale to en_GB.ISO-8859-15 (Ubuntu Karmic)
So, the default character encoding for the English language is UTF-8. Not good when, say, you run a Java applet in the browser that has a different locale.
That happened to me recently. So here are the steps to change the locale and solve the issue:
locale-gen en_GB.ISO-8859-15
update-locale LANG=en_GB.ISO-8859-15
pico /var/lib/locales/supported.d/en
pico /var/lib/locales/supported.d/local
login again and select the new language
I’m not sure if the 2nd step is necessary, though.
When choosing the login language in GDM, you won’t be able to select the character encoding though (not sure why, as in previous versions you could). So for me that meant removing the en_GB.UTF-8 from both the local and en files in supported.d