Your message dated Thu, 30 Mar 2006 23:45:21 -0500 with message-id <[EMAIL PROTECTED]> has caused the Debian Bug report #360118, regarding vim: doesn't set 'fileencoding' for compressed files to be marked as having been forwarded to the upstream software author(s) Bram Moolenaar <[EMAIL PROTECTED]>.
(NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Bram, Below is a bug reported by a Debian user. I'm seeing it in 6.4 and the 7 beta. Could you take a look at it? Thanks, James On Thu, Mar 30, 2006 at 07:37:04PM +0200, Jakub Wilk wrote: > Package: vim > Version: 1:6.4-007+1 > Severity: normal > Tags: l10n > > vim doesn't set the 'fileencoding' variable for compressed files, > despite the fact it correctly recognizes the actual file encoding > (non-ASCII characters are shown properly). > > $ grep encoding .vimrc > let &termencoding=system("locale charmap | tr -d '\n'") > set encoding=utf-8 > set fileencodings=utf-8,iso-8859-2 > > $ printf '\xd3\xf3ps\n' > foo > > $ od -t x1 foo > 0000000 d3 f3 70 73 0a > 0000005 > > $ vim foo > :set fileencoding > fileencoding=iso-8859-2 > :q > > $ gzip foo; zcat foo.gz | od -t x1 > 0000000 d3 f3 70 73 0a > 0000005 > > $ vim foo.gz > :set fileencoding > fileencoding= > :wq > > $ zcat foo.gz | od -t x1 > 0000000 c3 93 c3 b3 70 73 0a > 0000007
signature.asc
Description: Digital signature
--- End Message ---

