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: <4ACB6309.9020609@cornell.edu>
References: <announce.20091003135912.GA32467@calimero.vinschen.de> 	 <4ACB6309.9020609@cornell.edu>
Date: Tue, 6 Oct 2009 17:02:20 +0100
Message-ID: <416096c60910060902m719726b9of985c46e91a2b518@mail.gmail.com>
Subject: Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-62
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

2009/10/6 Ken Brown:
> I've tried to view the attached file (extracted from the output of fc-lis=
t)
> in various ways, and here's what I've found (running XP in the U.S., with=
 no
> language-related customization):
>
> =C2=A0- Using emacs under X, emacs recognizes the file as UTF-8 and displ=
ays the
> foreign characters correctly.
>
> =C2=A0- 'cat temp.txt' in the cygwin console produces lots of question ma=
rks.

You probably need to select a Unicode-enabled font in the console's
properties, e.g. Lucida Console.


> =C2=A0- 'cat temp.txt' in xterm or mintty produces lots of garbage. =C2=
=A0The garbage
> changes in mintty if I change the choice of codepage in the options, but I
> haven't been able to get rid of the garbage.

It should be fine if you set the charset to UTF-8 and rerun the
command. Again, you also need to select a suitable font.


>  - If I set LANG=3DC.UTF-8 before starting xterm, I get correct display o=
f the
> foreign characters as in emacs (under X).  But this doesn't seem to work =
for
> the cygwin console or mintty (or at least I haven't figured out how to ma=
ke
> it work).

mintty-0.4.4 ignores the locale variables, but that's changing in 0.5.

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

