delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/12/09:59:44

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=AWL,BAYES_50,SPF_PASS
X-Spam-Check-By: sourceware.org
Date: Tue, 12 Jan 2010 15:59:27 +0100
From: "Niklaus Kuehnis" <kuehnik_0505 AT gmx-topmail DOT de>
Message-ID: <20100112145927.264380@gmx.net>
MIME-Version: 1.0
Subject: How to print textfiles in Cygwin 1.7?
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-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

Hi,

I've upgraded to Cygwin 1.7 (release version, clean install) and now am unable to print text files with non-ascii characters (i.e. German umlauts) from commandline.

On Cygwin 1.5 printing used to work with a2ps but now all umlauts are replaced by strange characters (i.e. the u with diaeresis appears as a capital A with a tilde and '1/4'). The same happens with lpr. The files print fine using the Windows text editor.

I'm using mintty on Windows Vista Business and nano to produce the files. Files with umlauts are recognized as UTF-8 by the file command.

Is there an alternative to a2ps or a fix/workaround?

Thanks in advance!

Niklaus

$ a2ps --version
GNU a2ps 4.13

$ uname -a
CYGWIN_NT-6.0 machinename 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin

$ mintty --version
mintty 0.5.6

$ nano --version
GNU nano Version 2.0.9 (compiliert um 13:11:06, Oct 19 2008)

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

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