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: How to print textfiles in Cygwin 1.7?


Corinna Vinschen schrieb:
I've now read that page. As UTF-8 is generally the preferred
charset, I would like to stick to it. Does changing the language,
e.g. to de_CH, change umlaut handling? It doesn't seem to, here.

It does, though. If you read the page you have learned that setting LANG to just a language (de_CH), without a charset (.UTF-8) will set the character set to the Windows codepage which is the default ANSI codepage on your machine. In your case this is probably CP1252. If you want to be sure to use UTF-8, then say so: export LANG=de_CH.UTF-8.

I set this variable (and also LC_CTYPE and LC_ALL), and printing with umlauts with bare a2ps works fine now. Thanks!


Niklaus

--
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]