On Thu, Aug 16, 2012 at 11:24 AM, Paul K <[email protected]> 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

------------------------------------------------------------------------------
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