delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/04/14:23:46

X-Recipient: archive-cygwin AT delorie DOT 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 DOT 20100104T115636-584 AT post DOT gmane DOT 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 DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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

- Raw text -


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