[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about encoding (spanish document)

From: Mark Summerfield
Subject: Re: question about encoding (spanish document)
Date: Thu, 2 Feb 2006 10:21:10 +0000
User-agent: KMail/1.8.2

On Wednesday 01 February 2006 17:17, Rolando Abarca wrote:
> I'm trying to write a document in spanish, but I can't get the right
> encoding to produce the written accent mark.
> What's the encoding I have to use (in vim) to produce the correct glyph?
> What about UTF-8 support?...

I also use vim to write lout. Lout understands Latin-1, so I have these
two lines in my .vimrc file (well actually my .gvimrc file):

    autocmd BufRead,BufNewFile *.lout,*.lt,*.ld set fileencoding=latin1
    autocmd BufRead,BufNewFile *.lout,*.lt,*.ld set encoding=latin1

This ensures that whenever I load a lout file vim/gvim uses the Latin-1
encoding for reading and writing the file and for displaying.

Mark Summerfield

reply via email to

[Prev in Thread] Current Thread [Next in Thread]