delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/08/16:05:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_20,SARE_MSGID_LONG40,SARE_SUB_ENC_UTF8,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4B1E56D1.2090501@hones.org.uk>
References: <4B1E4D22 DOT 9020406 AT hones DOT org DOT uk> <416096c60912080520l49cbf64bwa4a2c4510b13a9f0 AT mail DOT gmail DOT com> <4B1E56D1 DOT 2090501 AT hones DOT org DOT uk>
Date: Tue, 8 Dec 2009 21:05:11 +0000
Message-ID: <416096c60912081305k3d386207q5d6fb6cdc77c47a@mail.gmail.com>
Subject: Re: UTF-8 in Cygwin console on 1.7
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
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-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

2009/12/8 Cliff Hones:
> Perhaps setup.exe should offer to generate a shortcut (as well as .bat
> and .ico) with, say, the Lucida font selected?

Or just do so without asking? We've had a number of questions on this
already, and there are likely to be many more. People can always
choose the raster font in the properties if they prefer that.


> I have just checked Cygwin 1.5 and this aslo mishandles NUL, so I guess
> it is a long-standing problem (or Microsoft oddity, or workaround for
> something else...).

I don't know what the story behind that is, but a (trivial) fix is
attached. It also changes the handling of SI (0xF) in the same way.

I also noticed that the code for handling CAN (0x18) under 'case ERR:'
is unreachable, because CAN is classified as 'NOR' in the base_chars
table. Perhaps a separate 'CAN' class would be appropriate here?

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019