gkngkc / UnityStandaloneFileBrowser

A native file browser for unity standalone platforms
MIT License
2.01k stars 317 forks source link

Unable to locate path containing german umlauts on OSX #38

Open NoxMortem opened 5 years ago

NoxMortem commented 5 years ago

If the path contains äöüÄÖÜ the filebrowser returns a path for which File.Exists(path) is false because of the encoding of the file. Tested on windows editor (works) and osx (invalid path).

SaveFilePanel returns "Tür" while OpenFilePanel returns "T%%CC%88%%r"

Not sure if this is completly safe but I'd say the returned string should be System.Uri.UnescapeDataString helps. However, I am unsure if this is really safe way according to https://msdn.microsoft.com/de-de/library/system.uri.unescapedatastring(v=vs.110).aspx

gkngkc commented 5 years ago

Thanks for the feedback, this should be fixed in latest (1.1) release

jipr311 commented 3 years ago

this issue should be reopen again....