utf-8 encoding in specs

Jacek Konieczny jajcus at jajcus.net
Sun Feb 18 17:00:10 CET 2007


On Sun, Feb 18, 2007 at 01:31:54PM +0100, Cezary Krzyzanowski wrote:
> Dnia 18-02-2007, nie o godzinie 13:17 +0100, Tomasz Pala napisał(a):
> > Means what? I don't see vim here. As default `encoding` (internal
> > setting for buffers etc) is latin1 (as I don't use gvim for anything but
> > LaTeX and don't have unicode locale) it simply won't work.
> 
> So how should this work? Do I need to change console to utf-8 to be able
> to see proper fonts int vim (not gvim)?

Use:

set termencoding=iso-8859-2
setglobal fileencoding=iso-8859-2
set encoding=utf-8
set fileencodings=ucs-bom,utf-8,iso-8859-2

And it will work well on iso-8859-2 terminal will automatically
display well most files.

Greets,
        Jacek


More information about the pld-devel-en mailing list