I have some file names in "LATIN" but the fs.existsSync function is not able to recognise it
1689017335025-Naan En Nesarudaiyavan â mix.json
I tired with buffer too but still not able to get the proper response.
I am providing the proper path of the file too but still its not detecting that file.
I am using the fs module in electron js.
Other files other than Latin are been properly detected by fs.existsSync
const localDownloadPath = path.join(app.getPath('userData'), ${endpath}/${detail.name});
if(fs.existsSync(localDownloadPath)){
return true;
}else {return false;}