X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 	tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20100408070651.07BB.E57E4DAE@nmia.com>
References: <4BBCC76E.5070901@nmia.com> 	 <w2g416096c61004080410ucb4ee234u9b8af13f9c7734c4@mail.gmail.com> 	 <20100408070651.07BB.E57E4DAE@nmia.com>
Date: Thu, 8 Apr 2010 15:57:26 +0100
Received: by 10.239.188.135 with SMTP id p7mr26393hbh.90.1270738646926; Thu,  	08 Apr 2010 07:57:26 -0700 (PDT)
Message-ID: <m2h416096c61004080757g4cdd780ag62a47df42b481517@mail.gmail.com>
Subject: Re: man pages showing special characters
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

TheCajun:
>> What character set is selected on the Text page of mintty's options?
>> Where are you setting LANG and LC_ALL?
>
> mintty is set to en_US.UTF-8
>
> I only exported LANG=3Dc in .bash_profile. =C2=A0All my other tests were =
on
> commandline.
>>
>> 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.
>>
> I removed the export from .bash_profile and re-logged in and still
> recieve same scrambled characters.

Right. More questions.

- What are those scrambled characters and what do you expect instead?
- Which man pages are affected?
- Can you double-check that LC_ALL and LC_CTYPE are unset or empty and
that LANG is set to en_US.UTF-8?
- What font are you using?
- Is there anything in /var/cache/man? If so, does clearing it make a
difference?

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

