如何在Debian linux控制台上显示中文或日文?

时间:2016-08-07 00:35:38

标签: linux utf-8 console debian locale

我的linux控制台没有显示utf-8中文或日文,但区域设置似乎正确。

Distributor ID: Debian
Description:    Debian GNU/Linux 8.4 (jessie)
Release:        8.4
Codename:       jessie

$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

1 个答案:

答案 0 :(得分:1)

通过在.screenrc设置文件中添加以下行来解决问题

defutf8 on
defencoding utf8
encoding UTF-8 UTF-8