Gentoo Archives: gentoo-dev

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] UTF-8 locale by default
Date: Mon, 30 Jul 2012 19:03:55
Message-Id: 20120730190222.GA10223@waltdnes.org
In Reply to: Re: [gentoo-dev] UTF-8 locale by default by Michael Orlitzky
1 On Mon, Jul 30, 2012 at 01:33:48PM -0400, Michael Orlitzky wrote
2
3 > The technical objection to C.UTF-8 is that it's non-standard, Ok.
4 > What are the technical objections to LC_CTYPE=en_US.UTF-8? If the
5 > alternatives are all improvements, the statistics are irrelevant.
6
7 I ran into a problem several months ago with xfreecell not running.
8 Turned out the ISO8859-1 fonts were not being generated, just UTF-8.
9 xfreecell needs ISO8859-1 fonts. And it's not the only package. I
10 modified xorg-2.eclass so that font packages would build ISO8859-1. See
11 http://article.gmane.org/gmane.linux.gentoo.user/252316/ for the gory
12 details. Would forcing UTF-8 cause problems for packages that expect
13 specific ISO encodings in X fonts?
14
15 The important part of the eclass mod was to manually enable iso8859-1
16 and disable all other encodings...
17
18 if grep -q -s "disable-all-encodings" ${ECONF_SOURCE:-.}/configure; then
19 FONT_OPTIONS+="
20 --enable-iso8859-1
21 --disable-iso10646
22 --disable-iso10646-1
23 --disable-iso8859-2
24 --disable-iso8859-3
25 --disable-iso8859-4
26 --disable-iso8859-5
27 --disable-iso8859-6
28 --disable-iso8859-7
29 --disable-iso8859-8
30 --disable-iso8859-9
31 --disable-iso8859-10
32 --disable-iso8859-11
33 --disable-iso8859-12
34 --disable-iso8859-13
35 --disable-iso8859-14
36 --disable-iso8859-15
37 --disable-iso8859-16
38 --disable-jisx0201
39 --disable-koi8-r"
40 else
41 FONT_OPTIONS+="
42 --disable-iso10646
43 --disable-iso10646-1
44 --disable-iso8859-2
45 --disable-iso8859-3
46 --disable-iso8859-4
47 --disable-iso8859-5
48 --disable-iso8859-6
49 --disable-iso8859-7
50 --disable-iso8859-8
51 --disable-iso8859-9
52 --disable-iso8859-10
53 --disable-iso8859-11
54 --disable-iso8859-12
55 --disable-iso8859-13
56 --disable-iso8859-14
57 --disable-iso8859-15
58 --disable-iso8859-16
59 --disable-jisx0201
60 --disable-koi8-r"
61 fi
62
63 --
64 Walter Dnes <waltdnes@××××××××.org>

Replies

Subject Author
Re: [gentoo-dev] UTF-8 locale by default Michael Orlitzky <michael@××××××××.com>