diff options
author | Bill Nottingham <notting@redhat.com> | 2009-05-15 22:53:05 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2009-05-18 16:18:02 -0400 |
commit | 6bcc6f43228ce9ca06dda18fcfd126b8bd706ba4 (patch) | |
tree | 542364ea9348fb1e6c61032ae2745405191374b8 /loader/loader.c | |
parent | 25d5a1b7cf9c789cfd779dbdd917c1c644f77911 (diff) | |
download | anaconda-6bcc6f43228ce9ca06dda18fcfd126b8bd706ba4.tar.gz anaconda-6bcc6f43228ce9ca06dda18fcfd126b8bd706ba4.tar.xz anaconda-6bcc6f43228ce9ca06dda18fcfd126b8bd706ba4.zip |
Set locale to en_US.UTF-8 when initializing the console.
If we're setting the console to UTF-8, we should set a UTF-8 locale so that
apps that test LC_CHARSET do the right thing. (e.g., slang)
Signed-off-by: Bill Nottingham <notting@redhat.com>
Diffstat (limited to 'loader/loader.c')
-rw-r--r-- | loader/loader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/loader/loader.c b/loader/loader.c index 6d69a15a5..1de7019a5 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -308,6 +308,7 @@ char * getProductPath(void) { void initializeConsole() { /* enable UTF-8 console */ + setenv("LANG","en_US.UTF-8",1); printf("\033%%G"); fflush(stdout); |