CVSROOT:        /cvs
Module name:    src
Changes by:     n...@cvs.openbsd.org    2016/03/05 09:08:38

Modified files:
        usr.bin/tmux   : tmux.c 

Log message:
If setlocale("en_US.UTF-8") succeeds, then don't do the check for UTF-8
locale since if it isn't UTF-8 the system is broken anyway. If it fails,
try "" and check for UTF-8 with nl_langinfo(CODESET) rather than
wcwidth(). Based on a diff from schwarze@, nl_langinfo also suggested by
stsp@.

Reply via email to