X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4B27DAA0.2020406@cs.umass.edu> Date: Tue, 15 Dec 2009 13:51:12 -0500 From: Eliot Moss User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: cygwin Subject: UTF-related question Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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 " 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 because with that LANG setting, for a hyphen/dash man produces a three-byte UTF sequence. The same happens for LANG=C.UTF-8. The way I have found around it is to use LANG=C. Thoughts about this as a "problem"? Is it a problem? Is there a better way? Thanks -- Eliot ============================================================================== J. Eliot B. Moss, Professor http://www.cs.umass.edu/~moss www Director, Arch. and Lang. Impl. Lab. +1-413-545-4206 voice Department of Computer Science +1-413-695-4226 cell 140 Governor's Drive, Room 372 +1-413-545-1249 fax University of Massachusetts at Amherst moss AT cs DOT umass DOT edu email Amherst, MA 01003-9264 USA +1-413-545-2746 Laurie Downey sec'y ============================================================================== -- 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