Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] utf-8 fixes for metadata.xml
Date: Fri, 05 Aug 2005 02:37:58
Message-Id: 20050805023501.GB10826@curie-int.orbis-terrarum.net
In Reply to: Re: [gentoo-dev] utf-8 fixes for metadata.xml by Georgi Georgiev
1 On Fri, Aug 05, 2005 at 11:28:46AM +0900, Georgi Georgiev wrote:
2 > > As a vim workaround, maybe force encoding=utf-8 in the gentoo filetype
3 > > stuff?
4 > But utf-8 is supposed to be autodetected, since the default
5 > fileencodings always contains utf-8, doesn't it? It is not
6 > autodetected only if the file is not *strictly* utf-8.
7 It sets 'fileencoding' correctly, but 'encoding' is not set at all.
8
9 Here's the vim settings that I see after opening the file and running :set.
10
11 autoindent hlsearch tabstop=4 ttymouse=xterm
12 backspace=2 ruler textwidth=80 viminfo='20,"500
13 history=50 shiftwidth=4 ttyfast
14 commentstring=<!--%s-->
15 fileencoding=utf-8
16 fileencodings=ucs-bom,utf-8,default
17 filetype=gentoo-metadata
18 suffixes=.bak,~,.o,.h,.info,.swp,.obj,.info,.aux,.log,.dvi,.bbl,.out
19 syntax=gentoo-metadata
20
21 --
22 Robin Hugh Johnson
23 E-Mail : robbat2@××××××××××××××.net
24 Home Page : http://www.orbis-terrarum.net/?l=people.robbat2
25 ICQ# : 30269588 or 41961639
26 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85

Replies

Subject Author
Re: [gentoo-dev] utf-8 fixes for metadata.xml Georgi Georgiev <chutz@×××.net>