Hello,

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.

Code:
const int utf16_length = MultiByteToWideChar(CP_UTF8,0,filename.data(),filename.length(),NULL,0);
			std::wstring utf16;
			utf16.resize(utf16_length);
			MultiByteToWideChar(CP_UTF8,0,filename.data(),filename.length(),&utf16[0],utf16.length());
			const wchar_t *name = utf16.c_str();
Please help me to rename the file with unicode character.
Dave.