X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <op.u34dm9m15o90vo@orion>
References: <op.u33070195o90vo@orion> 	 <761680.56258.qm@web25505.mail.ukl.yahoo.com> 	 <op.u34dhzb95o90vo@orion> <op.u34dm9m15o90vo@orion>
Date: Sat, 28 Nov 2009 20:05:57 +0000
Message-ID: <416096c60911281205i6ad26fa0m65b49ee7df802664@mail.gmail.com>
Subject: Re: [1.7] Accented characters don't work
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

2009/11/28 lemkemch:
> But how do I get back a pure C locale?

If by that you mean an ASCII locale: C.ASCII. (Btw, that's essentially
the same as C.ISO-8859-1, i.e. it's 8-bit not 7-bit).

>=C2=A0I also
> want ls -l to output the old standard date format. =C2=A0So
> setenv LANG C.what? =C2=A0C.ISO-8859-15 is kind of nice (the accented
> chars display fine) but ls then shows the iso-type date format.

The date format is controlled by the LC_TIME locale category. Hence
you could get both the Euro charset and the traditional date format
with this:

LANG=3DC.ISO-8859-15
LC_TIME=3DC

Regarding the LANG setting, I'd recommend setting it to the language
you prefer, e.g. de_DE.ISO-8859-15 or en_GB.ISO-8859-15, because the
C.* locales are unlikely to be recognised when connecting to other
systems.

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

