UTF-related question
Mark J. Reed
markjreed@gmail.com
Tue Dec 15 19:51:00 GMT 2009
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 <markjreed@gmail.com>
--
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
More information about the Cygwin
mailing list