Reading a Unicode file

Hi there, long time reader, first time poster,
I am writing a program that needs to extract data from a .CSV file which is encoded in Unicode. Using ifstream does not appear to work for this properly and I have only been able to accomplish it by changing the file to ANSI. Is there anyway for me to read the file without having to change the encoding outside of my program. If so would it still use ifstream or not?
Kind Regards
-Jacobus52999-
There are a few unicode encoding schemes.

Is this UTF-8? UTF-16 BE? UTF-16 LE?

If you don't know and your text editor doesn't tell you, try opening the file in a hex editor and look at the first few bytes. "FF FE" would be UTF-16 BE, "FE FF" would be UTF-16 LE, and anything else would probably be UTF-8.
Topic archived. No new replies allowed.