From: Wenzhi L. <wen...@gm...> - 2005-03-27 18:35:44
|
> > Just found that the same problem existed in the the installer of Vim 6.3. :) hmmm. Let me look into it. > > if version > 603 > set helplang=cn > endif > > to > > if version >= 603 > set helplang=cn > endif Well spotted. fixed. > > >>>3. When install under Debian as a normal user, help_cn.vim can not be >>>installed. >> >>Thanks. And can you see 注意, 备注, 译者,etc hilighted after fixing >>that problem? > > > Unfortunately, I don't see any difference before and after I auto > loading the help_cn.vim (I have made sure that this file is executed), > on both Windows and Debian. It is the same thing I am seeing here and I think I know the cause of it: our documents as well as help_cn.vim are in utf-8 encoding. When we use vim in a Chinese enviroment, LANG is set to zh_CN or something. Vim detects that and do encoding translation internally to allow proper display of Chinese characters. But then it can't match those patterns in help_cn.vim anymore. I changed encoding to utf-8 and everything works fine. I don't know a fix for this yet. lang2 |