Re: Vi and UTF-8

2010-02-16 Thread Avraham Rosenberg
On Tue, Feb 16, 2010 at 09:08:35AM +, Tzafrir Cohen wrote: ... > When your locale is a UTF-8 one, (isn't it? If not: fix it), and vim is > built with multibyte support: ... Tzafrir, overall UTF-8 locale may not be everyone's cup of tea for various reasons. In my case, for example, I got addic

Re: Vi and UTF-8

2010-02-16 Thread Tzafrir Cohen
On Mon, Feb 15, 2010 at 06:31:26PM +0200, Geoff Shang wrote: > Hi, > > I don't use Vi so I don't have any idea about this. > > A friend is doing some translation work and needs to work in a UTF-8 > environment. She said she'd prefer to use Vi, but implied that she > thinks that it doesn't have

Re: Vi and UTF-8

2010-02-15 Thread Lior Kaplan
2010/2/15 shimi > > On Mon, Feb 15, 2010 at 6:31 PM, Geoff Shang wrote: > >> >> So can anyone tell me if Vi (or possibly a clone) has UTF-8 support, and >> if so, if she needs to do anything special to activate it? >> >> > Google says: http://vimdoc.sourceforge.net/htmldoc/mbyte.html > If you ha

Re: Vi and UTF-8

2010-02-15 Thread Shlomi Fish
On Monday 15 Feb 2010 18:39:35 shimi wrote: > On Mon, Feb 15, 2010 at 6:31 PM, Geoff Shang wrote: > > So can anyone tell me if Vi (or possibly a clone) has UTF-8 support, and > > if so, if she needs to do anything special to activate it? > > Google says: http://vimdoc.sourceforge.net/htmldoc/mbyt

Re: Vi and UTF-8

2010-02-15 Thread Shlomi Fish
On Monday 15 Feb 2010 18:31:26 Geoff Shang wrote: > Hi, > > I don't use Vi so I don't have any idea about this. > > A friend is doing some translation work and needs to work in a UTF-8 > environment. She said she'd prefer to use Vi, but implied that she thinks > that it doesn't have UTF-8 suppor

Re: Vi and UTF-8

2010-02-15 Thread Pablo 'merKur' Kohan
On Feb 15, 2010, at 18:31, Geoff Shang wrote: She said she'd prefer to use Vi, but implied that she thinks that it doesn't have UTF-8 support. vim does. Also, gvim might require less tweaking, than fighting uxterm/other terminal app to make it display mbyte chars. :help utf8 -- ___

Re: Vi and UTF-8

2010-02-15 Thread ik
Hi Geoff, First of all, there is no VI anymore, only vim and other programs that mimics VI. On vim, you can use UTF-8 by either doing the following: :set encoding=utf8 Or use it with a UTF-8 environment when executing it (and no other settings effect the encoding). Ido http://ik.homelinux.o

Re: Vi and UTF-8

2010-02-15 Thread shimi
On Mon, Feb 15, 2010 at 6:31 PM, Geoff Shang wrote: > > So can anyone tell me if Vi (or possibly a clone) has UTF-8 support, and if > so, if she needs to do anything special to activate it? > > Google says: http://vimdoc.sourceforge.net/htmldoc/mbyte.html Of course that like any terminal applica