X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: <4B27DAA0 DOT 2020406 AT cs DOT umass DOT edu> Date: Tue, 15 Dec 2009 14:51:38 -0500 Message-ID: Subject: Re: UTF-related question From: "Mark J. Reed" To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Tue, Dec 15, 2009 at 1:51 PM, Eliot Moss wrote: > > Following the guidelines related to cygwin 1.7, I have > generally been using LANG=3Den_US.UTF-8. But I found that > if I do "man " to get a man page, and then > search (I have man's "more" program set to "less") for > a string having a dash in it, say to search for -a in the > rsync man page to find the description of that flag, it > fails to match. This is neither Cygwin- nor locale-specific.=C2=A0 The man macro package for nroff generates actual hyphens and dashes (em and en) where appropriate.=C2=A0 When you set LANG to C and use the text output form, all of a sudden those characters are not available, so it has no choice but to fall back to the plain ASCII '-' character. If you're looking for an en dash, you have to type an en dash.=C2=A0 I think alt+0150 will work.=C2=A0 If not, you'll have to figure out how to enter Unicode character U+2013. -- Mark J. Reed -- 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