delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/16/17:09:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Originating-IP: [66.206.205.2]
X-Originating-Email: [vxj45 AT hotmail DOT com]
From: "Vishal Jain" <vxj45 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: international chars in user name
Date: Fri, 16 May 2003 14:08:55 -0700
Mime-Version: 1.0
Message-ID: <Law9-F117pXYWHvwG4h000297c2@hotmail.com>
X-OriginalArrivalTime: 16 May 2003 21:08:55.0502 (UTC) FILETIME=[5C3B26E0:01C31BEF]
Note-from-DJ: This may be spam

I was looking at the cygwin code.
Functions like cygwin_logon_user() makes a call to LogonUserA(). It is 
explicitly calling ascii version.
Also parsing of gecos field assumes that it is ascii (functions like 
internal_getpwsid() in passwd.cc).
I wonder if there are other things.
Vishal
>From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
>Reply-To: cygwin AT cygwin DOT com
>To: Vishal Jain <vxj45 AT hotmail DOT com>
>CC: cygwin AT cygwin DOT com
>Subject: Re: international chars in user name
>Date: Fri, 16 May 2003 16:40:59 -0400 (EDT)
>
>On Fri, 16 May 2003, Vishal Jain wrote:
>
> > Does cygwin support user name with international characters?
> > thanks,
> > Vishal
>
>Vishal,
>
>If Windows supports it, Cygwin most likely supports it.  Some scripts may
>not have the proper quoting and the like, though...
>
>FYI, you can change your Cygwin username to be whatever you want -- as
>long as the SID is intact, Cygwin will know which Windows user is
>associated with which Cygwin username.  Technically, the same goes for the
>UID as well, but there are some other issues there (e.g., access on
>network shares).
>	Igor
>--
>				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
>ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
>Knowledge is an unending adventure at the edge of uncertainty.
>   -- Leto II
>

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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