in reply to Re^2: How to get system user name from windows using perl
in thread How to get system user name from windows using perl
Caveat: %ENV is always byte semantics, if you have an oldish Windows and a username outside of the ANSI locale, you get question marks. One should be using Win32’s LoginName() instead which always returns character-shaped characters.
|
|---|