From: Wenzhi L. <wen...@gm...> - 2005-03-28 11:00:27
|
James He wrote: > on Sun, 27 Mar 2005 19:36:02 +0100 > Wenzhi Liang <wen...@gm...> wrote: > > >>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. > > > I can see that the help_cn.vim *is* utf8 encoded, but from my screenshot, > you can see the script doesn't work. I don't know why. :( > > Can you send me a screenshot of the script's effect? Thx! :) I've checked in another version of help_cn.vim which supposedly would fix the problem. Can you do an update and overwrite the old help_cn.vim with the new one and then try again. You should see 译者,注意,备注 hilighted. Try usr_41.txt as it has quite a few 注意. It doesn't seem to work all the time though. lang2 |