I have been using stat() for checking the existence of a file, which I understand is better practice than trying to open a file. However, stat() doesn't work for filenames containing unicode characters in other languages. Is there a wide character version of stat(), or something equivalent that I can use?
If not, what is the next acceptable solution for checking existence of a file?