Comment 14 for bug 120542

Per Johansson (per.j) wrote :

It handles case and also makes sure to return the file as UTF-8 NFD (as they are stored on disk), according to my testing. I don't really know how to access it from python though, but I guess some of you guys do (os.path.realpath does not use this function).

The limitation is that it only works on files that actually exist.