Nmap Development mailing list archives

Re: Non-ASCII user names on Windows; internationalization fun


From: jah <jah () zadkiel plus com>
Date: Sat, 13 Sep 2008 23:07:05 +0100

On 10/09/2008 21:29, David Fifield wrote:
I decided to press my luck and created an account with the user name
本因坊秀策. (Those are Japanese kanji. I hope they don't get mangled by
mail readers or the mailing list archiver.) With this account Zenmap
gives an error message at startup saying it can't create the user
configuration directory. The directory it's trying to create is
C:\Documents and Settings\?????\.zenmap. That's not your mail reader,
those are five literal question mark characters. That comes straight out
of the HOME environment variable, and I don't know what to do about it.
Python is perfectly capable of reading the home directory's file name:
os.listdir(u"C:\\Documents and Settings").

The Windows I'm trying this on is on a FAT32 partition. Does anyone know
if using NTFS would have any change? If someone wants to try it, it's
pretty easy. Install the East Asian language files (under Regional and
Language Options in the Control Panel), create an account, and copy and
paste something from Wikipedia in the user name field.
I tried this with Chinese on XP with NTFS.
I didn't have nmap installed on this fresh VM and couldn't even launch
the NSIS installer from a directory under the Chinese user's home, but
it installed fine for that user once I'd moved the installer.
Starting zenmap then resulted in the message you saw with kanji - so
filesystem seems to make no difference.

Regards,

jah





_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org

Current thread: