Overview
| Artifact ID: | 75db0d426910fca762df44c40e33cddb28ec2fbd |
|---|---|
| Ticket: | 2806622fffffffffffffffffffffffffffffffff
$tcl_platform(user) has garbage in sometimes on Win32 |
| User & Date: | patthoyts on 2009-06-30 21:29:34 |
Changes
- icomment:
You might try the attached patch. In general the Tcl code is compiled as narrow (TCHAR == char) and it switches the win32 api functions at runtime using the tclWinProcs global. So GetUserName should have been indirectly accessed using this. This patch seems to work for me and I tried forcing a cyrillic name through it and that was ok too.
- login: "patthoyts"
- mimetype: "text/plain"
- username: "patthoyts"