Locale and international text in widgets

I just noticed that international (reads Greek) text is not rendered at
all in widgets. I traced it down to LC_CTYPE being non-empty in my
environment. Are there any objections to adding the setlocale(...) call
back in awesome.c:main(...)? I could set up a script emptying LC_CTYPE
and then exec'ing awesome, but I guess it's harmless to have awesome do
that internally. Unless I'm missing something...
This commit is contained in:
Nikos Ntarmos 2008-01-08 19:17:01 +02:00 committed by Julien Danjou
parent cf6f6be5e6
commit 09e878a166

View file

@ -228,6 +228,8 @@ main(int argc, char *argv[])
else
eprint("options: [-v | -c configfile]\n");
}
/* Tag won't be printed otherwised */
setlocale(LC_CTYPE, "");
/* X stuff */
if(!(dpy = XOpenDisplay(NULL)))