X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <loom.20100104T115636-584@post.gmane.org>
References: <loom.20100104T115636-584@post.gmane.org>
Date: Mon, 4 Jan 2010 19:23:32 +0000
Message-ID: <416096c61001041123o3da15150h87656b37fc14d01@mail.gmail.com>
Subject: Re: rxvt and strange characters from man
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

2010/1/4 tim richardson:
> I've setup rxvt, and take the default term settings.
> This is the latest cygwin as of today, Vista host.
>
> when I do man x, I get odd characters: mis-interpreted control characters.
> The default cygwin terminal works fine.
>
> for example, if I do
> man man
>
> I get this kind of stuff (the characters =C3=A2 (letter a with a hat on) =
pops up a lot
>
> SYNOPSIS
> =C2=A0 =C2=A0 =C2=A0 man =C2=A0[=C3=A2=CB=86=E2=80=99acdfFhkKtwW]

That's because the default locale in Cygwin is C.UTF-8 and rxvt does
not (and will not) support UTF-8.

You've got two choices:
- Change your locale to one with a singlebyte character set, e.g.
en_US.ISO-8859-1.
- Use a different terminal: urxvt or xterm if you want to run X, or
mintty if you don't.

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

