I made this nifty app in C++ using standard resources like iostream and fstream, which takes a text playlist from itunes, finds all the songs anywhere on the hard drive, and copies them to one folder (to be put on a CD, flash drive, etc.). Well, apparently up until a month or so ago, these text files were saved as ANSI; now they are saved by iTunes as Unicode. I don't know if its UTF-8, 16, 32 or what. All I know is now my app won't work unless I open the text file and save it as an ANSI text file.
So my question is, what is the simplest way to enable the reading of unicode files? It would be really awesome if there was a header/class file out there that made it as easy as replacing ifstream.get with utfstream.get or something to that effect. Thanks a bunch!
inList.get(st_list.s_Name, MAX_STRING, '\t');