This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.7] Accented characters don't work


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).

>ÂI also
> want ls -l to output the old standard date format. ÂSo
> setenv LANG C.what? ÂC.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=C.ISO-8859-15
LC_TIME=C

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]