Overview
| Artifact ID: | b3560d950c7cc878252cb46eed833cea89b02039 |
|---|---|
| Ticket: | 491789ffffffffffffffffffffffffffffffffff
setargv() doesn't support a unicode cmdline |
| User & Date: | davygrvy on 2004-11-03 02:47:18 |
Changes
- icomment:
File Deleted - 14535: File Added - 107390: patch.txt Logged In: YES user_id=7549 Here is a new patch that doesn't modify the signature of Tcl_Main, but moves the body of Tcl_Main to a new Tcl_UniMain with the sig of: int Tcl_UniMain(int argc, Tcl_UniChar **wargv, Tcl_AppInitProc *appInitProc) This change allows Tcl_Main to just 'upcast' it's argv vector to unicode and call Tcl_UniMain and allows a user of the API to call Tcl_UniMain directly. This fixes the long standing unicode commandline args problem. Sticky points are: 1) We need a new unicode form of Tcl_FindExecutable 2) maybe the choice of name is better Tcl_WMain and we should use the wchar_t type instead to match the declaration of microsoft's use of _wmain (not an ANSI feature)?
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"