X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/59c9c0e467534a6ee70b6f8fa2e6ed16f12338a9..3a0e1da4b09a28a98b3ce83a309564b3b554d69c:/dot/bash_profile diff --git a/dot/bash_profile b/dot/bash_profile index de5a5cf..1621d13 100644 --- a/dot/bash_profile +++ b/dot/bash_profile @@ -135,7 +135,8 @@ else : ${LANG=${LC_CTYPE-${LC_ALL-`mdw-conf console-ctype`}}} case "$TERM,`tty`" in linux,/dev/tty*) - if vt-is-UTF8 >/dev/null 2>&1; then + if { vt-is-UTF8 || + kbd_mode | grep UTF-8; } >/dev/null 2>&1; then ctype=.utf8 else ctype=