From: John L. <jla...@gm...> - 2012-08-20 02:53:32
|
On Thu, Aug 16, 2012 at 11:24 AM, Paul K <pau...@ya...> wrote: > It seems like I can't get a proper unicode path from GetCwd() on > windows using wxLua 2.8.12.2. Using the unicode build right? > 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 Does wx.wxFileName.FileExists("SomethingInThatDir.txt") work, showing that SetCwd() worked? If so then, it'd be a problem with GetCwd(), but I cannot think of any reason why it wouldn't work off the top of my head... Regards, John |