On Fri, Aug 05, 2005 at 11:28:46AM +0900, Georgi Georgiev wrote:
> > As a vim workaround, maybe force encoding=utf-8 in the gentoo filetype
> > stuff?
> But utf-8 is supposed to be autodetected, since the default
> fileencodings always contains utf-8, doesn't it? It is not
> autodetected only if the file is not *strictly* utf-8.
It sets 'fileencoding' correctly, but 'encoding' is not set at all.

Here's the vim settings that I see after opening the file and running :set.

  autoindent          hlsearch            tabstop=4           ttymouse=xterm
  backspace=2         ruler               textwidth=80        viminfo='20,"500
  history=50          shiftwidth=4        ttyfast
  commentstring=<!--%s-->
  fileencoding=utf-8
  fileencodings=ucs-bom,utf-8,default
  filetype=gentoo-metadata
  suffixes=.bak,~,.o,.h,.info,.swp,.obj,.info,.aux,.log,.dvi,.bbl,.out
  syntax=gentoo-metadata

-- 
Robin Hugh Johnson
E-Mail     : [EMAIL PROTECTED]
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

Attachment: pgp77CL7le3Iz.pgp
Description: PGP signature

Reply via email to