delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/28/15:06:10

X-Recipient: archive-cygwin AT delorie DOT 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 DOT u33070195o90vo AT orion> <761680 DOT 56258 DOT qm AT web25505 DOT mail DOT ukl DOT yahoo DOT com> <op DOT u34dhzb95o90vo AT orion> <op DOT u34dm9m15o90vo AT 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 DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019