2009/10/12 Bram Moolenaar <[email protected]>:
>
>
> Dominique Pelle wrote:
>> So to sum up, 3 possibilities:
>>
>> 1/ only utf-8 Esperanto files (as currently)
>> 2/ utf-8 + latin3
>> 3/ utf-8 + latin1 after transliterating ĉ -> cx, Ä  -> gx, etc.
>>
>> I prefer 1/ for simplicity but I'm fine with 2/ or 3/ as well
>> if you think it's worth.
>
> We can go with 2/.  The only worry I have is that this is an 8-bit
> encoding, it can't be detected automatically.  Thus people having 'enc'
> set at latin1 will see the wrong characters.  Is that better than
> getting an error message?

This happens with files encoded in cp1252 as well and will happen any
time someone opens a non-latin1 8-bit encoded file that can't
definitively be distinguished from latin1.  There's not much that can be
done aside from the end-user knowing what encoding the file is using and
having Vim specifically open it with that encoding.

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

Raspunde prin e-mail lui