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:
parent
cf6f6be5e6
commit
09e878a166
|
@ -228,6 +228,8 @@ main(int argc, char *argv[])
|
||||||
else
|
else
|
||||||
eprint("options: [-v | -c configfile]\n");
|
eprint("options: [-v | -c configfile]\n");
|
||||||
}
|
}
|
||||||
|
/* Tag won't be printed otherwised */
|
||||||
|
setlocale(LC_CTYPE, "");
|
||||||
|
|
||||||
/* X stuff */
|
/* X stuff */
|
||||||
if(!(dpy = XOpenDisplay(NULL)))
|
if(!(dpy = XOpenDisplay(NULL)))
|
||||||
|
|
Loading…
Reference in New Issue