delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/19/04:51:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,SARE_SUB_ENC_UTF8,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <28287625.post@talk.nabble.com>
Date: Mon, 19 Apr 2010 01:51:16 -0700 (PDT)
From: =?UTF-8?Q?LiuYan_=E5=88=98=E7=A0=94?= <lovetide AT 21cn DOT com>
To: cygwin AT cygwin DOT com
Subject: Cygwin 1.7 man: '-' char in option/switch in man page is not displayed/not encoded well if LANG=C.UTF-8
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

After moved from Cygwin 1.5 to Cygwin 1.7, the '-' char in switch/option in
man page is not displayed.

As Cygwin 1.7 have revised to 1.7.5 and cygwin-doc-1.7 is released and this
problem still exists, so I decide to figure it out.

I have a previous post "Cygwin 1.7: Empty/white-space output when display
Chinese characters in GBK charset encoding?" here
http://old.nabble.com/Cygwin-1.7%3A-Empty-white-space-output-when-display-Chinese-characters-in-GBK-charset-encoding--ts26774467.html,
It seems this problem is similar to that one, because if i set LANG=C.GBK,
'-' char will displayed well. But Cygwin 1.7 select UTF-8 as default
encoding, is it 'man' does not follow this default encoding?

please see the screenshot from old.nabble.com:
http://old.nabble.com/file/p28287625/cygwin-1.7-LANG%253DC.UTF-8-man.png
cygwin-1.7-LANG%3DC.UTF-8-man.png 
-- 
View this message in context: http://old.nabble.com/Cygwin-1.7-man%3A-%27-%27-char-in-option-switch-in-man-page-is-not-displayed-not-encoded-well-if-LANG%3DC.UTF-8-tp28287625p28287625.html
Sent from the Cygwin list mailing list archive at Nabble.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

- Raw text -


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