tags:

views:

55

answers:

1

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?

+3  A: 

in windows you can use the wide char version : _wstat

Alon