Friday, September 28, 2012

Scrambled characters shows when typing Chineses characters, secureCRT ssh to linux server

hi dear all,

I am new to vim ,recently i ssh to linux using secureCRT. when I type Chinese characters they appear to be unreadble.

My secureCRT settings are like:
font: Fixedsys(OK with Chinese characters),
Character encodings: UTF-8.

My linux settings related to language and charset:
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"

My 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
(also tried the above commented settings)

Is there anything else I can do?Thanks in advance.


--
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