From: goat <moo...@gm...> - 2013-11-28 12:22:35
|
Interesting find, I'll look up this issue on my own. I assume forcing the current directory with SetCurrentDirectoryW could fix it, if the result of GetCurrentDirectoryW doesn't match the base directory returned by GetModuleFileNameW. Using utf-8 for wide char path names traversal is just my approach, and I don't expect Python to comply to it, even though it has proven itself very versatile with string encoding. Is it possible to force Python's preferred encoding? Maybe it would allow it to just natively deal with the utf-8 paths. |