Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Fri, 16 May 2003 17:43:03 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Vishal Jain cc: cygwin AT cygwin DOT com Subject: Re: international chars in user name In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Vishal, LogonUserA() doesn't preclude international characters, it simply uses 8-bit characters instead of the wide (16-bit) characters. Of course, the international chars will be locale-dependent in this case. If you were asking about Unicode, then you should have phrased your question correctly. And the answer would have been "No, Cygwin does not support Unicode user names". Igor On Fri, 16 May 2003, Vishal Jain wrote: > 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 > >Reply-To: cygwin AT cygwin DOT com > >To: Vishal Jain > >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 -- 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/