From 09e878a166bf8fc2147d4c35aad5def35714201a Mon Sep 17 00:00:00 2001 From: Nikos Ntarmos Date: Tue, 8 Jan 2008 19:17:01 +0200 Subject: [PATCH] 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... --- awesome.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awesome.c b/awesome.c index 4f8529522..ab7b90c97 100644 --- a/awesome.c +++ b/awesome.c @@ -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)))