[1.7] Accented characters don't work

Andy Koppe andy.koppe@gmail.com
Sun Nov 29 05:10:00 GMT 2009


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



More information about the Cygwin mailing list