Localization: Fix handling of charset in language setting