1. putty里改变设置
(1)Change Settings->Window->Translation
①Received data assumed to be in which character set: 中选择Use font encoding
②在Treat CJK ambiguous characters as wide前打钩
(2)Change Settings->Window->Appearance
①字体选择为日文字体,推荐HG明朝E或者MS ゴシック
2. 在用户主目录下,如/home/xingxy,建立vim的配置文件".vimrc"
内容为(不包含分割线)
-------------------------------------------
set nu
set termencoding=cp932
set encoding=euc-jp
-------------------------------------------
阅读(703) | 评论(0) | 转发(0) |