diff options
Diffstat (limited to 'language.py')
-rw-r--r-- | language.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/language.py b/language.py index 56788b086..4db54607e 100644 --- a/language.py +++ b/language.py @@ -46,7 +46,7 @@ class InstallTimeLanguage: if os.environ.has_key("LANG"): self.current = os.environ["LANG"] else: - self.current = "en_US" + self.current = "en_US.UTF-8" self.nativeLangNames = {} search = ('lang-names', '/usr/lib/anaconda/lang-names') @@ -121,7 +121,7 @@ class InstallTimeLanguage: return langName #raise KeyError, "language %s not found" % lang - return self.getLangNameByNick("en_US") + return self.getLangNameByNick("en_US.UTF-8") def getDefaultKeyboard(self): return self.kbd[self.getCurrent()] @@ -199,7 +199,7 @@ class Language (SimpleConfigFile): if allInstalledFlag or (langFilter and langFilter.has_key(lang)): langsInstalled.append(name) else: - langInfoByName['English (USA)'] = ('en_US', 'iso01', 'default8x16') + langInfoByName['English (USA)'] = ('en_US.UTF-8', 'iso01', 'default8x16') allSupportedLangs.append('English (USA)') langsInstalled.append('English (USA)') @@ -216,7 +216,7 @@ class Language (SimpleConfigFile): return langName # raise KeyError, "language %s not found" % nick - return self.getLangNameByNick("en_US") + return self.getLangNameByNick("en_US.UTF-8") def getLangNickByName(self, name): (lang, map, font) = self.langInfoByName[name] |