delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/28/09:59:18

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: lemkemch AT t-online DOT de
Subject: Re: [1.7] Accented characters don't work
Date: Sat, 28 Nov 2009 15:58:38 +0100
Lines: 35
Message-ID: <op.u33070195o90vo@orion>
References: <op DOT u32qm8135o90vo AT orion> <416096c60911272257i4ddff0e2v2c7a3c7de98f3c2e AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Opera Mail/10.01 (Win32)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

On Sat, 28 Nov 2009 07:57:52 +0100, Andy Koppe wrote:

> 2009/11/27  :
>> What am I doing wrong with my first tries of 1.7?  I created in Windows
>> Explorer a directory Ébène and in it a file très.  When I look at it
>> with ls in an rxvt window I don't see the accented characters but the
>> two utf-8 bytes.  Hm.
>
> Rxvt doesn't support UTF-8.

I knew.  I expected that to mean that certain characters won't be
displayed properly but thinking of it it means rxvt doesn't know
how to `combine' those two (or more) bytes to a single character.
Understandable.

> It's dead upstream, so that's unlikely to
> change. UTF-8 is supported by urxvt (aka rxvt-unicode), xterm, mintty,
> and the Cygwin console. Urxvt and xterm require an X server.

And that I really don't like.  Way too complex for my taste for the
simple task of popping up a text window.
>
>
>> I then created the same directory from tcsh (my standard shell) and
>> from bash.
>
> Did you run those in rxvt as well?

Yes.  So I guess the byte my keyboard generated (by using a utility
called AllChars) - and which had the 8th bit set - got converted into
something that Windows thinks is Chinese.  Hm, but how is rxvt involved
here?  Isn't that a pure stty kind problem?  Would it work from a cmd
window?

Michael


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