Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
Andy Koppe schrieb: One workaround is to convert the file manually using iconv, e.g.: $ iconv -f utf-8 -t iso-8859-1 bla.txt | a2ps -o bla.ps This works ok. Thanks! I will try to make an alias for it. Please note that 'nano' also doesn't support UTF-8 yet. While entering characters looks

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
Thomas Wolff schrieb: So the easiest practical solution is to use a Windows tool: notepad /p filename This works, too. Thanks! Niklaus -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
Thomas Wolff schrieb: 1. notepad /p prints to your default printer 2. for font configuration, invoke notepad manually; if you want a fixed-width font for text printing, these are recommendable for a good coverage of Unicode: Lucida Console, Courier New, Andale Mono, Everson Mono

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
Corinna Vinschen schrieb: On Jan 12 15:59, Niklaus Kuehnis wrote: 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. Did you read the User's Guide, especially

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Thomas Wolff
Niklaus Kuehnis wrote: 1. notepad /p prints to your default printer ... Yes, this printing command still works in Vista, and also the font switching procedure. Thanks for checking. Please note that 'nano' also doesn't support UTF-8 yet. ... So that may be why I get some strange behavior of

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Corinna Vinschen
On Jan 15 11:08, Niklaus Kuehnis wrote: Corinna Vinschen schrieb: On Jan 12 15:59, Niklaus Kuehnis wrote: 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. Did you

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Corinna Vinschen
On Jan 15 11:18, Corinna Vinschen wrote: On Jan 15 11:08, Niklaus Kuehnis wrote: Corinna Vinschen schrieb: http://cygwin.com/cygwin-ug-net/setup-locale.html 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,

[Re:] Language vs character settings [Re: How to print textfiles in Cygwin 1.7?]

2010-01-15 Thread Thomas Wolff
Niklaus Kuehnis wrote: ... 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. That depends... If you just have LANG in your environment to indicate the UTF-8 character set, or

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
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

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Andy Koppe
2010/1/15 Niklaus Kuehnis: 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! I can't confirm that. Sure you were printing a UTF-8 file there? Andy

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
Andy Koppe schrieb: 2010/1/15 Niklaus Kuehnis: 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! I can't confirm that. Sure you were printing a UTF-8

Re: How to print textfiles in Cygwin 1.7?

2010-01-13 Thread Thomas Wolff
On 13.01.2010 07:48, ext Andy Koppe wrote: 2010/1/12 Niklaus Kuehnis: 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

Re: How to print textfiles in Cygwin 1.7?

2010-01-13 Thread Thomas Wolff
Some additional notes on this: On 13.01.2010 07:48, ext Andy Koppe wrote: 2010/1/12 Niklaus Kuehnis: 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

Re: How to print textfiles in Cygwin 1.7?

2010-01-12 Thread Corinna Vinschen
On Jan 12 15:59, Niklaus Kuehnis wrote: 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. Did you read the User's Guide, especially

Re: How to print textfiles in Cygwin 1.7?

2010-01-12 Thread rmpbklyn
://old.nabble.com/How-to-print-textfiles-in-Cygwin-1.7--tp27128849p27137998.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe

Re: How to print textfiles in Cygwin 1.7?

2010-01-12 Thread Andy Koppe
2010/1/12 Niklaus Kuehnis: 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