外国人看不懂啊
Foreigner can't understand.
-----邮件原件-----
发件人: vim_use@googlegroups.com [mailto:vim_use@googlegroups.com] 代表
yijie
发送时间: 2012年9月28日 20:07
收件人: vim_use@googlegroups.com
主题: 中文编码问题
大家好,
    刚开始使用vim,公司用secureCRT ssh到linux,用vim编辑中文时出现乱码。自己
机器和服务器的部分配置如下:
    secureCRT配置:字体 Fixedsys(中文不会出现乱码),字符编码 UTF-8。
    服务器端:
    LC_ALL=zh_CN.UTF-8
    LC_*="zh_CN.UTF-8"
    LANG=zh_CN.UTF-8
    CHARSET=UTF-8
    /etc/sysconfig/i18n:
    LANG="en_US"
    SUPPORTED="en_US.UTF-8:en_US:en"
    SYSFONT="latarcyrheb-sun16"
    .vimrc :
 
    "let $LANG="zh_CN.UTF-8"
    "set fileencodings=utf-8,gb2312,cp936,gbk,gb18030
    "set fileencoding=utf-8
    "set termencoding=utf-8
    "set fileformats=unix
    "set encoding=utf-8
    "set fencs=utf-8
    "source /usr/share/vim/vim73/delmenu.vim
    "source /usr/share/vim/vim73/menu.vim
    "language message zh_CN.utf-8
    "set langmenu=zh_CN.UTF-8
    "set helplang=cn
    if v:lang =~ "utf8$" || v:lang =~ "UTF-8$"
           set fileencodings=utf-8,latin1
    endif
    (前面注释过的地方也都试过)。
    vim输入中文时还是会有部分乱码,连最下面的提示也部分汉字是乱码。不知道是
不是还有哪需要设置。望大家指点,多谢!
    
    
   
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment