From 3619ed071d7f09c208baa3d477fce72040959c4c Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Thu, 28 Jul 2005 03:34:28 +0000 Subject: [PATCH] make locale stuff HOPEFULLY work properly git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@20 7f574dfc-610e-0410-a909-a81674777703 --- conky.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conky.c b/conky.c index 4b2c07fb..0112de91 100644 --- a/conky.c +++ b/conky.c @@ -3448,7 +3448,8 @@ else if (((s = getenv("LC_ALL")) && *s) || ((s = getenv("LC_CTYPE")) && *s) || ((s = getenv("LANG")) && *s)) { - if (strstr(s, "UTF-8") || strstr(s, "utf-8")) + if (strstr(s, "UTF-8") || strstr(s, "utf-8") + || strstr(s, "UTF8") || strstr(s, "utf8")) utf8_mode = 1; } if (!setlocale(LC_CTYPE, "")) {