Gentoo Archives: gentoo-user

From: Mike Gilbert <floppym@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8
Date: Mon, 05 Aug 2013 21:17:51
Message-Id: CAJ0EP42h7j52fiQ7E2bZhu8A8uspJATJNXi20=T9M+VQ36qZJQ@mail.gmail.com
In Reply to: Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8 by Bruce Hill
1 On Mon, Aug 5, 2013 at 2:57 PM, Bruce Hill
2 <daddy@×××××××××××××××××××××.com> wrote:
3 > On Mon, Aug 05, 2013 at 02:53:11PM -0400, Mike Gilbert wrote:
4 >> On Mon, Aug 5, 2013 at 2:25 PM, Chris Stankevitz
5 >> <chrisstankevitz@×××××.com> wrote:
6 >> > Hello,
7 >> >
8 >> > I am using svn to update a repository. Somebody added files to the
9 >> > repository with weird characters in the filename. SVN refuses to
10 >> > update the respository unless I first:
11 >> >
12 >> > export LC_CTYPE=en_US.UTF-8
13 >> >
14 >> > I don't know or really care what that mumbo jumbo means, but I would
15 >> > like an answer to this question:
16 >> >
17 >> > Is my gentoo system properly setup? If not, what step did I miss that
18 >> > is causing svn to want me to export LC_CTYPE?
19 >> >
20 >> > I suspect either my gentoo system is messed up or svn is messed up.
21 >> >
22 >>
23 >> Sparing you the details as requested: In general, you want to be using
24 >> a locale that ends with ".UTF-8" to avoid encoding issues with
25 >> software like python and subversion.
26 >>
27 >> The handbook documents setting a system-wide default locale. You
28 >> generally do this by setting the LANG variable in
29 >> /etc/conf.d/02locale.
30 >>
31 >> http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=8#doc_chap3_sect3
32 >
33 > Without looking, shouldn't that be /etc/env.d/02locale ?
34
35 Yes.
36
37 Or /etc/locale.conf if you're on systemd.