delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/14/09:05:50

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=X8EGxWcgAwOQ8IMKYyNPRzcrb+3XWYKnAr5xgZqocAoH2ZY5ffgxH
0hu4C6u7xkEnLATfqtqIEHqByyEdDCL8+01+2SLYkVlfe8zFRugD1r0pOgponBHV
t9JNG+/K7nl6UlXXjlhho0FGAEAydERZgL/dCBLzfrNjrqA85Hv4rE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=cjcUG8Nnp708eVGFM53VUYR2UmQ=; b=MQk6OgDW26HOwTpgM64kJTZOfR0u
TxsWsJFC6ih1RA5JlSt/Zt1FSbWsvJ6H9+aqvFp77GMDh+BIYYN7hLWRkemc2+GG
TmY5ebQNsbSR/0nc4fngfUVxCm+QQd85yYUSEccgpGJwXIBHJBwsPa0hEHmHIvQ7
Ct4PVvdNY/Lze3o=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=AWL,BAYES_20 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Fri, 14 Feb 2014 15:05:32 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: New passwd/group handling in Cygwin - test results and observations
Message-ID: <20140214140532.GD2246@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20140213143849 DOT GH2246 AT calimero DOT vinschen DOT de> <1717869165 DOT 20140214021113 AT mtu-net DOT ru> <20140214102044 DOT GX2246 AT calimero DOT vinschen DOT de> <1078913914 DOT 20140214155631 AT mtu-net DOT ru>
MIME-Version: 1.0
In-Reply-To: <1078913914.20140214155631@mtu-net.ru>
User-Agent: Mutt/1.5.21 (2010-09-15)

--1GFpsN+DA+8qGtn4
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 14 15:56, Andrey Repin wrote:
> > But this is a problem not different from Linux.  If you have a username
> > with non-ASCII chars, it will use *some* encoding in the passwd DB,
> > usually UTF-8 these days.  If you then change the codeset in your
> > application, you will still get your username in UTF-8.  It won't be
> > changed on the fly, just because your application calls setlocale.
>=20
> I understand it (mostly), but there's actually two issues, not one.
> One issue is the display part, where names are output for user consumptio=
n.
> Another can be observed in, i.e., rsync, and file access in general (reme=
mber
> the discussion about accessing long directory names in unicode).
> Changing LANG variable DO matter for the latter, and you may only hope th=
at
> whatever is output in the former case is actually printable (thank God, m=
ost
> of the time it actually is, in case of UTF-8).
> It is getting even more complicated, when you consider the fact, that in
> Windows you have 2 different single-byte encodings, so-called ANSI (for G=
UI
> applications) and OEM (for console). And alot of stuff making assumptions
> without consulting with current status of things.
> As convoluted the problem is, I think, we need some sort of solution, or =
at
> the very least - documentation.

Sorry, I can't provide an easy solution, and afaik this is documented.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--1GFpsN+DA+8qGtn4
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJS/iKsAAoJEPU2Bp2uRE+gfDEP/2Ipbh3lSq8FkUcvnlVO0oJ4
42osUWJXe8i6+0kmgrPuPOHioln8dx1UEcSqX0sw+OLks4RKHwHD4Y4ah+LRaQ2U
W7RvbreOMVynVL2qgBw81MYEjDQ+96SGYIYSXKyzXRQ1Wo7fCBCTc9RmxxhNV+rk
CSJYAyeFoj/KdEp6bCEQFyrvDO1aPxEeJIxntUGb7qUfkD5/LI0/70HXnZQHTsMM
ciCCA+vajQEruiN/RFFgKALLAnkIdIoXl+kx7uCGAmk3hAUmhzPMmclDiz8Xeadn
ZHgs231fiP6fgv6tmJHT0PfIoN0YNjSlr3NjYfINc1pTgRnHo7nUwKk50lrNw9Il
5VHc//c4Nmhy6/ivhFGfZPFEYUObTD2P5fk5Jkr5RXLRClnJHgEI+htrxQKESRiF
k7ETz3aO2cv+S3e3d0G+ligIfELkGSQRugJ2lcutv9FPJQFkgF7t1SuJr/yqsQDL
+9tVHQ1yTop6IDVzBrKv9KRJFuvFAq2Fu9whaZIZWzyagCsN6rWWgH3q/4IlgUyw
S8BeJ5s9Al0cTJWqreIBzol+40Roqw4zWAVEN+fRO5gOc3FlPyPQ3IAu3xHxv71C
18OCo0NCcY9xA1lHkw1Gkgtwd2fRtAJdGPkE3UF7zBCIdNLPgdR+eyqM03DJGdUi
oRGJOVjLZEK/JR+V288l
=vtSr
-----END PGP SIGNATURE-----

--1GFpsN+DA+8qGtn4--

- Raw text -


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