1 diff -u -r ../tmux-2.2/tmux.c ./tmux.c
2 --- ../tmux-2.2/tmux.c 2016-03-05 12:55:49.000000000 -0500
3 +++ ./tmux.c 2016-04-11 04:36:26.594521819 -0400
15 if (setlocale(LC_CTYPE, "en_US.UTF-8") == NULL) {
16 if (setlocale(LC_CTYPE, "") == NULL)
17 errx(1, "invalid LC_ALL, LC_CTYPE or LANG");
19 s = nl_langinfo(CODESET);
20 if (strcasecmp(s, "UTF-8") != 0 &&
21 strcasecmp(s, "UTF8") != 0)
22 errx(1, "need UTF-8 locale (LC_CTYPE) but have %s", s);
26 setlocale(LC_TIME, "");