Package: vim Version: 1:7.1-000+1 Severity: normal The autodetection of encoding governed by the 'fileencodings' option sometimes fail, in a funny way.
I had a file in iso-8859-1 encoding with the word "adiós". This was recognized as an utf-8 file. Changing the word to "adiós." makes it get recognized as iso-8859-1. Some more tests: adiós => wrong adiós. => correct ó => wrong ó. => wrong .ó. => wrong á => wrong á. => correct This is with the default value of 'fileencodings' (vi -U NONE -u NONE). Also, this fails with vim 6.4 and 7.0 as well. Thanks, -- Adeodato Simó dato at net.com.org.es Debian Developer adeodato at debian.org Russian roulette in bash: ((RANDOM%6)) || rm -rf ~