This is the mail archive of the
mailing list for the Cygwin project.
Re: UTF-related question
- From: "Mark J. Reed" <markjreed at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 15 Dec 2009 14:51:38 -0500
- Subject: Re: UTF-related question
- References: <4B27DAA0.firstname.lastname@example.org> <email@example.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=en_US.UTF-8. But I found that
> if I do "man <whatever>" 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.Â The man macro package
for nroff generates actual hyphens and dashes (em and en) where
appropriate.Â 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.Â I
think alt+0150 will work.Â If not, you'll have to figure out how to
enter Unicode character U+2013.
Mark J. Reed <firstname.lastname@example.org>
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple