X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 	tests=AWL,BAYES_00,SPF_FAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4B504BC9.6090000@gmx-topmail.de>
Date: Fri, 15 Jan 2010 12:04:41 +0100
From: Niklaus Kuehnis <kuehnik_0505@gmx-topmail.de>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: How to print textfiles in Cygwin 1.7?
References: <20100112145927.264380@gmx.net>  <20100112151039.GA25477@calimero.vinschen.de>  <4B503EB4.1000605@gmx-topmail.de> <20100115101858.GF22230@calimero.vinschen.de>
In-Reply-To: <20100115101858.GF22230@calimero.vinschen.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

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

