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/
_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to