=== modified file 'termkey.c' --- termkey.c 2014-01-23 23:57:19 +0000 +++ termkey.c 2014-01-05 18:23:46 +0000 @@ -385,7 +385,7 @@ char *e; if(((e = getenv("LANG")) || (e = getenv("LC_MESSAGES")) || (e = getenv("LC_ALL"))) && - (strstr(e, ".UTF-8") || strstr(e, ".utf8"))) + strstr(e, "UTF-8")) flags |= TERMKEY_FLAG_UTF8; else flags |= TERMKEY_FLAG_RAW;