utf-8 encoding in specs
Jakub Bogusz
qboosh at pld-linux.org
Sun Feb 18 16:26:39 CET 2007
On Sun, Feb 18, 2007 at 04:15:12PM +0100, Andrzej 'The Undefined' Dopierała wrote:
> On Sun, Feb 18, 2007 at 01:31:01PM +0100, Jakub Bogusz wrote:
> > > au BufReadPre *.spec setlocal fencs=utf-8,iso-8859-2,latin1
> > > au BufNewFile *.spec setlocal fenc=utf-8
> >
> > update:
> > au BufReadPre *.spec setlocal encoding=utf-8 fencs=utf-8,iso-8859-2,latin1
> > au BufNewFile *.spec setlocal encoding=utf-8 fenc=utf-8
> >
> > (needed if default encoding is latin* and spec contains non-latin chars)
> what about AC-branch, RA-branch and other branches that weren't
> converted to utf?
If they contain non-ascii characters not encoded as utf-8, vim will use
iso-8859-2 encoding.
For new specs utf-8 will be used and it's OK.
--
Jakub Bogusz http://qboosh.pl/
More information about the pld-devel-en
mailing list