delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/22/02:00:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 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: Lapo Luchini <lapo AT lapo DOT it>
Subject: Re: The C locale
Date: Tue, 22 Sep 2009 07:59:25 +0200
Lines: 67
Message-ID: <h99p3v$e38$1@ger.gmane.org>
References: <416096c60908300959i1e0084b1xc8f6e65e792b035d AT mail DOT gmail DOT com> <20090831005258 DOT GG2068 AT ednor DOT casa DOT cgf DOT cx> <416096c60909012329l2f25e735yc07145b8d6698cda AT mail DOT gmail DOT com> <3f0ad08d0909020656v7d9fce6ft4afea63ed363b9a9 AT mail DOT gmail DOT com> <416096c60909071308qc5ff057sbe9cb1dbc270554f AT mail DOT gmail DOT com> <20090908193456 DOT GC17515 AT calimero DOT vinschen DOT de> <416096c60909081449r1fe024dbm7b82a3719be05e9e AT mail DOT gmail DOT com> <20090921103758 DOT GE20981 AT calimero DOT vinschen DOT de> <416096c60909211420g4ac8ea93l80fc1f00dcd5c0f3 AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0
In-Reply-To: <416096c60909211420g4ac8ea93l80fc1f00dcd5c0f3@mail.gmail.com>
OpenPGP: id=C8F252FB; url=http://www.lapo.it/pgpkey.txt
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

--------------enig731F0E5964F1ED02D2A31ED9
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Andy Koppe wrote:
> This way, the non-ASCII needs of most users are covered
> out-of-the-box [...]
> Windows filenames show up correctly in Cygwin as long as they're
> limited to the ANSI codepage.

I fail to see how that is a desiderable thing.
Filesystem is UTF-16, Cygwin is now Unicode-aware, but anything that
doesn't fit ANSI is thrown away for the sake of retro-compatibility of
Cygwin-1.5 which was not Unicode-aware?

As a user, the ability to show correctly formatted UTF-8 filenames is
one of the features I most appreciated in Cygwin-1.7 and reverting that
would be a serious setback... even writing that in a ChangeLog would be
a bit troublesome... "we added support for Unicode - except you can't
use for anything you couldn't already do before when it was not there,
since we're using ANSI as an intermediate format anyways"?

> For example, start nano in a UTF-8 locale, enter a few umlauts, and
> move the cursor around, and you'll see some weird effects.

IMHO a bit of "weird effects" while moving cursor are a much less severe
problem that being unable to write the filename "like I think it is".
Using ANSI, anything over U+100 Unicode would be an ugly ^N-encoded
3-bytes-per-char ugly stuff which no human can "see" as the filename he
intended to use.

just my 2c

--=20
Lapo Luchini - http://lapo.it/

=E2=80=9CYou don't have to distrust the government to want to use cryptogra=
phy.=E2=80=9D
(Phil Zimmermann)


--------------enig731F0E5964F1ED02D2A31ED9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJKuGfEAAoJELBiMTth2oCDbf4QALdqMcrAbx+9Y51iOrBgRMXE
pvy348bCN7tKFTs0vmXV/xV3gjakwVZDc81+l5XwNJ+HkaEyvKIczoZ2UzW2SMxt
Iuqr912hUxa/halEczFj9rzqjKU4X6PiXYzJXPCtVGfHoLISBbtA5zLFr+c7cn63
59VEtz4K4h81Bay0YDRALaCHky8lOtqprYhVrnJN44edUEhVUD9idFZAx+R3TJGm
GKL4oJFztjvK0ipE9kjhkSFsAcl2qVTRJCLmJzE253tfjf95iDp8iuaLQbSYqZ40
y99N4VC4vzHYViHj/96J9fGhr6aEnsyiEJZBVMK3vR+0V96/D2Xxt+/O4EaN8Jy8
PD7wusDZBu1dqeiy7U90/hMDK7uR3CZbMVd/CEorg4qJEMGQLALHhVMiA/fwIXN6
1TWHJTLeLk/gy9yngTL2Zsuyt5O6dA2vOz8NjSbH0gndNvlHDGtA5DAY8jEy58DA
FQBl9zfGPWlaUHnbdrMmcJYR7aLxiARdsaYYLkzrFXW8dgdQabSEDvSVni4TI/+o
UqHJAXxx3xa7dR62o+v2Hivf0YTiNX3e2odUtOfdb616TvjOxaodQ6JeHgCdw8Nh
tkvZ0q8atW7IO/qG8kjiEemOjLz2RUtxZoP9WGP0B5tlbuTXOVeJVmkWSRLZrFqv
EYyc82ZAIQcduNItwH5t
=UiUx
-----END PGP SIGNATURE-----

--------------enig731F0E5964F1ED02D2A31ED9--

- Raw text -


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