DervishD wrote:
Hi Yongwei :)
* Yongwei Wu [EMAIL PROTECTED] dixit:
On 17/10/2007, Ben Schmidt [EMAIL PROTECTED] wrote:
Note that because of this buggy behaviour, Vim's default value for
fencs is non-sensical: it will always succeed when it gets to utf-8
when enc=utf-8 without trying
First scenario:
set enc=default
set fenc=latin1
set fencs=ucs-bom,utf-8,latin1
set tenc=latin1
vim file-- Correct (fenc=latin1)
vim file8 -- Correct (fenc=utf8)
cat file8 | view - -- Correct (fenc=)
Second scenario:
set enc=utf8
This is not true. In fact, if the file contains señor instead of
ññ, Vim does resort to Latin1. This said, Vim's failure here does
sound like a bug. But I would like to hear from Bram first.
Well spotted, Yongwei. So there is something more subtle about this bug, and I
believe it is this:
Ben Schmidt wrote:
This is not true. In fact, if the file contains señor instead of
ññ, Vim does resort to Latin1. This said, Vim's failure here does
sound like a bug. But I would like to hear from Bram first.
Well spotted, Yongwei. So there is something more subtle about this bug, and
On 18/10/2007, Ben Schmidt [EMAIL PROTECTED] wrote:
This is not true. In fact, if the file contains señor instead of
ññ, Vim does resort to Latin1. This said, Vim's failure here does
sound like a bug. But I would like to hear from Bram first.
Well spotted, Yongwei. So there is