Re: Summarizing encoding issues

2007-10-18 Fir de Conversatie Tony Mechelynck
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

Re: Summarizing encoding issues

2007-10-17 Fir de Conversatie Ben Schmidt
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

Re: Summarizing encoding issues

2007-10-17 Fir de Conversatie Ben Schmidt
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:

Re: Summarizing encoding issues

2007-10-17 Fir de Conversatie Tony Mechelynck
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

Re: Summarizing encoding issues

2007-10-17 Fir de Conversatie Yongwei Wu
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