Hi Everyone,
i have been assigned a task. i have to convert a 100 unicode files into ascii text files.
i have found out a method of identifying whether a file is unicode or not.

This method is working for all the unicode files. However I am not certain how do I automate the task for conversion. I have noticed that notepad allows me to save the files as text. This is not the best way to go about it as it involves opening the file and saving it again.

Does anyone know how do you convert a file from unicode to text? What does notepad do ? Can I use the same API call without bothering to open a file?

How do I do this in C++?

Cheers!
Abhijit