I had a file which has name like SIRÃO.wav
Since this file name has special unicode character all file API's are failed.
I would like to rename this file using Windows API. How can achieve this?
std::string filename variable hold this value as SIRÃO.wav.
I try to read the file using file API after perform a conversion.
Please help me to rename the file with unicode character.
const int utf16_length = MultiByteToWideChar(CP_UTF8,0,filename.data(),filename.length(),NULL,0);
const wchar_t *name = utf16.c_str();