delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/08/09:12:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=BAYES_00,TW_RX
X-Spam-Check-By: sourceware.org
Date: Thu, 08 Apr 2010 07:12:05 -0600
From: TheCajun <thecajun AT nmia DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: man pages showing special characters
In-Reply-To: <w2g416096c61004080410ucb4ee234u9b8af13f9c7734c4@mail.gmail.com>
References: <4BBCC76E DOT 5070901 AT nmia DOT com> <w2g416096c61004080410ucb4ee234u9b8af13f9c7734c4 AT mail DOT gmail DOT com>
Message-Id: <20100408070651.07BB.E57E4DAE@nmia.com>
MIME-Version: 1.0
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

> 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=
 have
> > the issue, I started using mintty. =C2=A0My first attempt to fix the is=
sue in
> > rxvt was successful (export LANG=3DC). =C2=A0However, at some point it =
failed.
> > =C2=A0LANG is the same, but I again was getting special characters wher=
e a hyphen
> > (and quotes and other punctuation) =C2=A0is suppose to be. =C2=A0That i=
s when I
> > started using mintty. =C2=A0It worked right off no problems. =C2=A0Howe=
ver *now* it is
> > doing the same. =C2=A0I have tried setting LANG and LC_ALL to en_US.utf=
8 but
> > nothing is helping.
>=20
> 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.  All my other tests were on
commandline.
>=20
> 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.
>=20
I removed the export from .bash_profile and re-logged in and still
recieve same scrambled characters.

Durwin


--
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