DervishD wrote:
[...]
    So, and if I understand everything correctly, if my locale is
latin1, my terminal is latin1 (that is, enc=latin1 and tenc=latin1) and
I want to edit/view utf8 files *and* I don't want new files or US-ASCII
files to be considered utf8, my best bet is to use "BufReadPre" to
detect utf8 files using "file -i" or something similar, thus forcing the
conversion, am I wrong?

I'm not sure: what happens if your UTF-8 file contains some character (such as the Euro sign) which has no representation in Latin1?


    I assume that when "BufReadPos" is invoked, any conversion has
already been carried, am I wrong?

IIUC, you aren't.


    Well, all of the above is easy to test, so if I can afford the time
later, I'll do and post here my results.

    Thanks, Tony :)

    Raúl Núñez de Arenas Coronado


Best regards,
Tony.

Reply via email to