Ni Va <nivaemail@gmail.com> wrote:
> Hi,
>
> Using this string 'Unité' written in file under windows 10 french, it appears the char 'é' is not recognized after opening the file :
>>
>> 'Unité'->Unité
That's exactly what you'd get when the file is saved in utf-8, but somehow
you open it as latin1 i.e. if you tried to open file foo with e.g.:
:e ++enc=latin1 foo
Vim should generally recognize the file encoding automatically if you
have this in your .vimrc:
set enc=utf-8
set fileencodings=ucs-bom,utf-8,latin1
Regards
Dominique
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAON-T_gxx6%2BcXoSJetMfw0HCEoPX_kbYGZZMu5Bz6a30i1Pmrw%40mail.gmail.com.
No comments:
Post a Comment