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.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to