freebsd无法输入汉字

echo $LANG

en_US.UTF-8

****************************

cat .cshrc

# $FreeBSD: src/share/skel/dot.cshrc,v 1.14.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $
#
# .cshrc - csh resource script, read at beginning of execution by each shell
#
# see also csh(1), environ(7).
#

alias h history 25
alias j jobs -l
alias la ls -a
alias lf ls -FA
alias ll ls -lA

# A righteous umask
umask 22

set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
setenv GREP_OPTIONS --color=auto
setenv EDITOR vi
setenv PAGER more
setenv BLOCKSIZE K
setenv LANG en_US.UTF-8
if ($?prompt) then
# An interactive shell -- set some stuff up
set filec
set history = 100
set savehist = 100
set mail = (/var/mail/$USER)
if ( $?tcsh ) then
bindkey "^W" backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
endif
endif

*****************************************************************

单从这儿看是没有什么问题,但是输入汉字的时候就一直是???,后来发现securecrt的字符编码那个地方没有更改,更改为utf-8,再次输入汉字完全正常了。

原文地址:https://www.cnblogs.com/seasonsstory/p/2982201.html