This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: international chars in user name

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
I wonder if there are other things.
From: Igor Pechtchanski <>
To: Vishal Jain <>
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


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).
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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*

-- Unsubscribe info: Problem reports: Documentation: FAQ:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]