summaryrefslogtreecommitdiffstats
path: root/language.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2002-12-12 04:15:30 +0000
committerMatt Wilson <msw@redhat.com>2002-12-12 04:15:30 +0000
commita3a65637b1fb5e6456c0f713db9a89d0e3a0c1cf (patch)
tree7c3b1ac2eecbc7ac56925e792f42496f58f677d0 /language.py
parent83d4ff28d7889276e96c73d795d20b1f9597f117 (diff)
downloadanaconda-a3a65637b1fb5e6456c0f713db9a89d0e3a0c1cf.tar.gz
anaconda-a3a65637b1fb5e6456c0f713db9a89d0e3a0c1cf.tar.xz
anaconda-a3a65637b1fb5e6456c0f713db9a89d0e3a0c1cf.zip
more default UTF-8 stuff
Diffstat (limited to 'language.py')
-rw-r--r--language.py8
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]