我一直这么做:
% cat .screenrc | grep -v '^#'
defencoding GBK
encoding GBK UTF-8
% kitty -o font_size=48 -e screen ssh newsmth
前一阵子出乱码了,百思不得其解。
后来发现是因为新版的 screen 5.0.0 有bug.
【 在 payforjr 的大作中提到: 】
: 标 题: 借宝地问一下:ubuntu下的putty不支持GB18030怎么解决?
: 发信站: 水木社区 (Mon Apr 21 01:03:04 2025), 站内
:
: 用putty或者终端来telnet登录水木社区都是乱码,网上说是因为字符编码不能选择GB18030导致的。
: ubuntu系统默认字符编码是utf8,怎样在不改变系统字符编码的情况下,用term软件登录水木正常运行呢?
: --
:
: ※ 来源:·水木社区
http://www.mysmth.net·[FROM: 222.131.247.*]
--
FROM 14.100.18.*