Gentoo Archives: gentoo-dev

From: Ben de Groot <yngwin@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] UTF-8 in GLEP56 use flags?
Date: Wed, 01 Oct 2008 23:30:45
Message-Id: 48E4081A.80302@gentoo.org
In Reply to: [gentoo-dev] UTF-8 in GLEP56 use flags? WAS: Re: [gentoo-commits] gentoo-x86 commit in x11-libs/qt-assistant: ChangeLog qt-assistant-4.4.1.ebuild qt-assistant-4.4.2.ebuild metadata.xml by "Robin H. Johnson"
1 Robin H. Johnson wrote:
2 > On Wed, Oct 01, 2008 at 08:13:14PM +0000, Ben de Groot (yngwin) wrote:
3 >> Index: metadata.xml
4 >> ===================================================================
5 > ...
6 >> + <flag name='webkit'>
7 >> + Enable <pkg>x11-libs/qt-webkit</pkg> support, for more
8 >> + sophisticated online help display using webkit???s HTML renderer.
9 >> + </flag>
10 >> + </use>
11 >> </pkgmetadata>
12 >
13 > I don't think there is any precedence here, but Unicode should not turn
14 > up in the English useflag descriptions, at least not while we are still
15 > generating use.local.desc for users.
16 >
17 > This one was really annoying, U+2019 "Right single quotation mark",
18 > which renders identically to an apostrophe, at least on my fonts.
19 >
20 > It briefly broke the use.local.desc generation, because that had been
21 > set for ASCII.
22 >
23 > Should we allow UTF-8 in the English variant? Are all the programs that
24 > still read use.local.desc UTF-8 safe? Do we have a deprecation schedule
25 > for use.local.desc being removed totally?
26 >
27 The xml header in each metadata.xml states that the content is UTF-8
28 encoded, and any XML parser has to be able to handle this. Also, when
29 used literally in xml, the 5 special characters & ' " < > cause a
30 well-formedness error, as far as I know. U+2019 is the recommended form
31 of using the apostrophe. So in my opinion, if we want to use xml, we
32 should use unicode properly.
33
34 Cheers,
35
36 --
37 Ben de Groot
38 Gentoo Linux developer (lxde, media, desktop-misc)
39 Gentoo Linux Release Engineering PR liaison
40 __________________________________________________
41
42 yngwin@g.o
43 http://ben.liveforge.org/
44 irc://chat.freenode.net/#gentoo-media
45 irc://irc.oftc.net/#lxde
46 __________________________________________________

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] UTF-8 in GLEP56 use flags? "Robin H. Johnson" <robbat2@g.o>
Re: [gentoo-dev] UTF-8 in GLEP56 use flags? "Jan Kundrát" <jkt@g.o>