From: Paul K <pau...@ya...> - 2012-08-16 15:32:15
|
It seems like I can't get a proper unicode path from GetCwd() on windows using wxLua 2.8.12.2. I'm running the following code: wx.wxFileName.SetCwd("D:\\Lua\\下载\\"); print(wx.wxFileName.GetCwd()) and this prints "D:\Lua\??" whereas I expect the original path to be printed. SetCwd() returns true. I look at some other calls, and others I checked seem to be working correctly, for example, wx.wxStandardPaths.Get():GetExecutablePath() returns "D:\\Lua\\下载\\zbstudio.exe" (which is correct). Is this a bug in GetCwd() or am I doing something wrong with it? Paul. |