c++ - fopen_s won't open some path with accents? -


i can't open file name containing accents using fopen_s. name of file stored inside char* (example: légendes.txt") , that:

fopen_s(&pfile, path, "rb") 

it works file without accents returns enoent file names them.

in fact actual file name "légendes.txt" , don't have control on because produced library have no control over...

i tried wfopen_s , wchar* same result. also, library able open file using filename stored.


Comments