delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/28/01:02:56

X-Spam-Check-By: sourceware.org
Message-ID: <4428D140.5050804@lapo.it>
Date: Tue, 28 Mar 2006 08:01:36 +0200
From: "Lapo Luchini (smtp)" <lapo AT lapo DOT it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8) Gecko/20051201 Thunderbird/1.5 Mnenhy/0.7.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Locales with wrong umlauts
References: <loom DOT 20060326T135539-102 AT post DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 63 DOT 0603272344260 DOT 18642 AT access1 DOT cims DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.63.0603272344260.18642@access1.cims.nyu.edu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Igor Peshansky wrote:
> The system has no idea what charset it's using, because it depends on the
> font you set for your terminal, which is outside of the terminal's
> control.  Even if you use a Unicode font with charset conversion, the
> charset is specified outside of the console.
>   
Oh? I had no idea about that.
Then the "Arial" distributed with latin1-like CP1252 areas (most western
europe) is a different font that the "Arial" used in eastern europe
(CP1250 AFAIR?) or the "Arilal" used for cyrillic-using places (CP1251?)?

Anyway, regarding file names, I don't think it is correct to say that
the name depends on the font: the "correct" name depends on the system
default codepage (or, well, since I guess underneath in now uses Unicode
let's say "the codepage used for retro-compatibility in the non-unicode
system calls").
If I have a filename with accents I want "ls" to show it "just like
Explorer", at least by default, with no explicit override on my part
using .Xdefaults or "rxvt -fn".

OK, maybe I prefer to use a CP850-font like LucidaP because I want to
see line-drawings in "mc" and thus every accent will be messed up, but
that's another matter 0=)
> Is there any way to tell mv, rm &co to display non-ASCII characters in
> filenames?  I know this isn't Cygwin-specific, but I'm not even sure what
> to Google for.
Ohh, us poor non-ASCII-using people, don't you know it is just plain
wrong to use "strange accents" in filenames? Even more "wrong" starting
a filename with a dot or (what horror) using an extension more than 3
chars long! (just kidding ^_^)

    Lapo

PS:
don't we blame Cygwin too much, many Windows apps has problems with
unicode. E.g. if I create a folder name with japanese characters in it,
most applications are not even able to save a file in it.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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