to eveybody, I get right result using this settings:

"-------------------------------------------
" .vimrc
"-------------------------------------------
"       autosense Dos,Unix,Mac
:set ffs=dos,unix,mac
"       none settings for encoding...
":let &termencoding = &encoding
":set encoding=utf-8
":set encoding=latin1
":set encoding=utf-8
"       autosense Unicode-ISO 8859-1 and 15
:set fileencodings=ucs-bom,utf-8,latin1,latin9


"-------------------------------------------
" in menu
"-------------------------------------------

:set fenc=latin1<CR>:set ff=dos<CR> "for ANSI DOS
:set fenc=utf-8 bomb<CR>        "for UNICODE Utf-8

"       also :set fenc=ucs-2le<CR>      " for Windows Unicode



(note than convert to "Utf-8 with signature"...
also, note than :set fenc=latin9  and then :w! doesn't convert...
but anyway I have a sequence which works to Unicode and reverse to ANSI!
thx to everybody ;)


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to