X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 	tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4B4523BC.8050508@csiro.au>
References: <4B4523BC.8050508@csiro.au>
Date: Thu, 7 Jan 2010 06:16:10 +0000
Message-ID: <416096c61001062216t1060c013qa0dc34991dec241@mail.gmail.com>
Subject: Re: Weird characters in man pages
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

2010/1/6 Wes Barris:
> I just installed Cygwin 1.7.1 and Puttycyg 20091228. =C2=A0When I viewed
> a man page I saw the letter 'a' with two dots above it instead of
> '-' characters. =C2=A0So, knowing that Cygwin 1.7 now used UTF-8, I chang=
ed
> my character translation set in Puttycyg to UTF-8 for my Cygwin
> session. =C2=A0Now man pages have fat half-height vertical bars instead
> of '-' characters. =C2=A0I don't know if this is a Putty, Puttycyg, or
> Cygwin issue. =C2=A0I am asking here in case anyone has any insight about
> this issue. =C2=A0Thanks.

I see you also asked on the puttycyg issue tracker.

Those characters probably are Unicode hyphens (U+2010). For some
unfathomable reason that codepoint is missing from most (all?) Windows
fonts, so you get to see the font's fallback character instead,
usually some sort of box or question mark. For this reason, mintty
replaces U+2010 with a plain ol' ASCII hyphen/minus character (0x2D).

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

