I have an additional question concerning this topic, that has been discussed 
several times.

I am happily using (g)vim with files containing several languages, basically 
as editor for LaTeX, and it's all right with Unicode. I am working in Linux 
Mandriva 2007, with (g)vim 7.0.30.
I still have a minor problem. My default encoding is Unicode-utf8: the .vimrc 
file says "set encoding=utf8". The automatic conversion from latin1 to utf8 
is perfect. However, sometimes, for reasons of compatibility with other 
programs that still cannot read Unicode files  (e.g. LyX) I must leave 
the "latin1" encoding of some files unchanged. What I do is:

1. open gvim
2: set encoding=latin1
3: e: filename.txt
4. work and save the file, that this way remains in its original encoding.

OR

:e ++enc=latin1 filename.txt

Question:
Is there any difference among the two systems?
Is the original encoding affected in some way by one of the two approaches?

Thanks!
gm

------------
Guido Milanese
http://www.arsantiqua.org

Reply via email to