Gentoo Archives: gentoo-user

From: felix@×××××××.com
To: gentoo-user@l.g.o
Subject: [gentoo-user] LANG, LC_*, and unicode
Date: Thu, 06 Jan 2011 00:21:01
Message-Id: 20110106000906.GG10493@crowfix.com
1 I installed a package which nattered at me:
2
3 elog messages for the following packages generated by process 22063 on host df.crowfix.com:
4 - app-dicts/aspell-fo-0.51.0
5
6 >>> Messages generated for package app-dicts/aspell-fo-0.51.0 by process 22063 on 20110105-150049 PST:
7
8 ERROR: install
9 This package installs one or more file names containing characters that
10 do not match your current locale settings. The current setting for
11 filesystem encoding is 'ANSI_X3.4-1968'.
12
13 usr/lib64/aspell-0.60/f\ufffdroyskt.alias
14
15 For best results, UTF-8 encoding is recommended. See the Gentoo Linux
16 Localization Guide for instructions about how to configure your locale
17 for UTF-8 encoding:
18
19 http://www.gentoo.org/doc/en/guide-localization.xml
20
21 Now being the simple old fashioned sort, I never set up locale on my
22 machine, so neither LANG nor any LC_* are set. But it does occur to
23 me that I ought to get with the times, especially if I like to install
24 odd language packs just to run spell check in different languages once
25 in a while for spits and dribbles.
26
27 I tried
28
29 ls /usr/lib64/aspell-0.60/f*
30
31 and
32
33 LANG=en_US.UTF-8 ls /usr/lib64/aspell-0.60/f*
34
35 and the only difference was whether "f\ufffdroyskt.alias" was first or
36 last in the listing. It still displayed the unicode char as "\ufffd".
37
38 So supposing I set LANG=en_US.UTF-8 and do nothing else. Will it
39 simply change how "unusual" file names are displayed, will it change
40 how future file names are created, will it affect any text files I now
41 have, or ones I create from now on?
42
43 In other words, will it mess up what I have?
44
45 --
46 ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
47 Felix Finch: scarecrow repairman & rocket surgeon / felix@×××××××.com
48 GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
49 I've found a solution to Fermat's Last Theorem but I see I've run out of room o

Replies

Subject Author
Re: [gentoo-user] LANG, LC_*, and unicode Bill Longman <bill.longman@×××××.com>