Gentoo Archives: gentoo-user

From: Fernando Rodriguez <cyklonite@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Acceptable character encodings for files in /etc/portage?
Date: Wed, 13 Jul 2016 12:08:05
Message-Id: eb28e4a0-d618-12c6-1854-94a21d60865f@gmail.com
In Reply to: [gentoo-user] Acceptable character encodings for files in /etc/portage? by P Levine
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 07/11/2016 12:11 AM, P Levine wrote:
5 > Glep 31 states that text files in the portage tree should use UTF-8
6 encoding. I see nothing indicating any standard encoding for files in
7 the /etc/portage directory. Since everything I have seen in portage's
8 python source-code seems to imply Unicode as valid but I can see nothing
9 specific to UTF-8, I thought I'd ask. Is there any official Gentoo standard
10 documentation that defines the acceptable set of character encodings for files
11 in /etc/portage?
12
13 I just glanced over Glep 31 and it does not say that. It is talking about
14 ChangeLogs and metadata.xml (because they contain developer names with unicode
15 characters). For patches and such it says to follow upstream suit.
16
17 If you try to use non-ASCII characters on ebuilds repoman will whine so I
18 suppose only ascii is supported and likewise there's nothing that I know of on
19 /etc/portage that requires non ascii characters.
20
21 -----BEGIN PGP SIGNATURE-----
22 Version: GnuPG v2
23
24 iQIcBAEBCAAGBQJXhi9JAAoJEPbOFX/5UlwcDzEP/iea/YL+ZlyZ9Cg9FuknuxNF
25 k/CZZFgUcHDfqFQswEsgARTfPEkP9TQkLqg53LswftcvfWcfs020HmOIRWe4h0uI
26 gBprWHAH1cKb6sN8psEnYNFNgc7UBwguXfLvPOv4kEtsLsYVA+CQ9zj/Y82yGEMu
27 yPtNXJUvQ1xyFMdWlXOwy0dt3DWcSozVLy8odjO8LP/LFH0c2lTtoY/UrtSFRt/l
28 ASSbpj6m0A3KvtrQsCxYG1muht4YHePTRQ46vZdr1XbS8SIHhz8au+Ed9e5cK6CH
29 3+UNh4qKAbgugVxNjp7qnQxyth2yRMTJzyTw6LTk+p/5S2kF0gNmRUBYMgYgJ+KZ
30 bmI1RsbjDeQXwngl8EA3wkBNOBl/6sq8QCNd7LxoCXGuNDRRDr2Eg2TIpOt90ZdQ
31 7rrr7G4LlrttByoLGzn85VFePbr8M52GmjN7la5kX+FFMwk+Ynx4HJSwbTHp6tMe
32 q9ge1JznO6LHhGXzTzoKvY7xzvdEMGLItfSnZxvkD0xrU/hxpkiyoa7Xrmb35UR5
33 KmcQW7ZuXKYnWTjSCH9BUCNxkdd8z6WyGQUulVhNSn7Zyi7Edc/aP7lpkX5XBE3/
34 blif32JjinjcmlUSRfY6I+xYGDNfnChrJXq22uXz4laXxjIZ9qyUGsUVhC8s9rl3
35 W5KDa1rgHbNI7u0xnd/e
36 =ayxA
37 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-user] Acceptable character encodings for files in /etc/portage? Fernando Rodriguez <cyklonite@×××××.com>