X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45,TW_RX,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4BBCC76E.5070901@nmia.com> References: <4BBCC76E DOT 5070901 AT nmia DOT com> Date: Thu, 8 Apr 2010 12:10:37 +0100 Received: by 10.239.193.134 with SMTP id j6mr1000307hbi.179.1270725037260; Thu, 08 Apr 2010 04:10:37 -0700 (PDT) Message-ID: Subject: Re: man pages showing special characters From: Andy Koppe 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 Durwin De La Rue: > I have searched the archive on this with complicated results. > > First, I am using latest version of cygwin. =C2=A0I normally use rxvt. = =C2=A0But after > having this issue with it, and finding information that mintty does not h= ave > the issue, I started using mintty. =C2=A0My first attempt to fix the issu= e in > rxvt was successful (export LANG=3DC). =C2=A0However, at some point it fa= iled. > =C2=A0LANG is the same, but I again was getting special characters where = a hyphen > (and quotes and other punctuation) =C2=A0is suppose to be. =C2=A0That is = when I > started using mintty. =C2=A0It worked right off no problems. =C2=A0Howeve= r *now* it is > doing the same. =C2=A0I have tried setting LANG and LC_ALL to en_US.utf8 = but > nothing is helping. What character set is selected on the Text page of mintty's options? Where are you setting LANG and LC_ALL? I'd recommend setting the locale and character set in the mintty options only, which automatically sets LANG accordingly. If you set LC_ALL or LANG to something else in your shell startup files, then mintty won't get to know about it, and you end up with a charset mismatch between mintty and applications running in it. Andy -- 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