delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/06/12:02:33

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: <4ACB6309.9020609@cornell.edu>
References: <announce DOT 20091003135912 DOT GA32467 AT calimero DOT vinschen DOT de> <4ACB6309 DOT 9020609 AT cornell DOT 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 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

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

- Raw text -


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