Hi Ed Wilts, Thank you so much for your help. After I put set fileencoding=japan set fileencodings=utf-8,iso-2022-jp,euc-jp,ucs-2,cp932 in my .exrc utf-8 is readable and writeable even by vim6.1. Cheers, --Wen ----- Original Message ----- From: "Ed Wilts" <ewilts@xxxxxxxxxx> To: "General Red Hat Linux discussion list" <redhat-list@xxxxxxxxxx> Sent: Wednesday, April 20, 2005 8:35 PM Subject: Re: vi for unicode > On Wed, Apr 20, 2005 at 02:51:03PM +0900, Wen Guangcheng wrote: > > Hello Gurus, > > I'm just a good googler... > > > I could not edit a utf-8 text file by vi. Would you please tell me > > how to configure vi to support utf-8 or any other editor which > > support utf-8? > > BTW, I can view the utf-8 file by cat. My platform is RedHat7.3 > > and vim is 6.1. > > >From a quick google search, you'll need to upgrade vim to 6.3. > Documentation on the unicode support can be found at > http://vimdoc.sourceforge.net/htmldoc/mbyte.html > > -- > Ed Wilts, RHCE > Mounds View, MN, USA > mailto:ewilts@xxxxxxxxxx > Member #1, Red Hat Community Ambassador Program > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list