中文输入乱码成问号
定制securtCRT主题时, 莫名其妙的中文输入全部变成了问号字符。
网上所有解决方案无效, 绝不可能是网上说的linux系统默认编码设置问题, securtCRT也已经设置为UTF8编码了。
反复试验, 最终才发现问题所在,原来是字体问题。
定制主题期间曾经换过字体, 然而那个字体不支持中文字符集。
具体如图, 一定要选择支持中文字符集的字体:
这个楷体支持中文字符集GB2312, 这和你的linux的utf8默认设置不冲突, 这里的GB2312是secureCRT终端的输入字符集。
这个字体就没有中文字符集的支持了, 所以你在secureCRT中输入中文时, 字符都会变成问号, 因为此时终端工具无法识别中文。
按键失效
可能的解决方案:
菜单-》全局选项-》默认会话-》终端-》仿真 选择 linux终端
推荐主题配色
配色,备份并覆盖securtCRT的Color Schemes.ini文件:
B:"单色"=00000044
00 01 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 ff ff ff 00 ff ff ff 00 ff ff ff 00 ff ff ff 00 ff ff ff 00 ff ff ff 00 ff ff ff 00
ff ff ff 00
B:"黑色/花白"=00000044
00 01 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 ff fb f0 00 ff fb f0 00 ff fb f0 00 ff fb f0 00 ff fb f0 00 ff fb f0 00 ff fb f0 00
ff fb f0 00
B:"黄色/黑色"=00000044
00 01 01 01 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00
ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00
B:"传统"=00000044
00 01 01 01 00 ff 00 00 00 ff 00 00 00 ff 00 00 00 ff 00 00 00 ff 00 00 00 ff 00 00 00 ff 00 00
00 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00
B:"Windows"=00000044
00 01 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 ff ff ff 00 ff ff ff 00 ff ff ff 00 ff ff ff 00 ff ff ff 00 ff ff ff 00 ff ff ff 00
ff ff ff 00
B:"黑色/青色"=00000044
00 01 01 01 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 ff 00 00 00 00 00
00 00 ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00
00 ff ff 00
B:"花白/暗青"=00000044
00 01 01 01 ff fb f0 00 ff fb f0 00 ff fb f0 00 ff fb f0 00 ff fb f0 00 ff fb f0 00 ff fb f0 00
ff fb f0 00 00 80 80 00 00 80 80 00 00 80 80 00 00 80 80 00 00 80 80 00 00 80 80 00 00 80 80 00
00 80 80 00
编程字体
YaHei Consolas Hybrid 字体: 网盘链接
来源:oschina
链接:https://my.oschina.net/u/2400083/blog/508947