Apostrophe

closed account (oEwqX9L8)
I'm having a problem where using ".get()" on an ifstream returns 3 "?" marks when reading in an apostrophe from a .txt file. My program needs to check for symbols in the input file, so I'm having trouble getting the program to recognize apostrophes. Any ideas to fix this?

Thanks for any help!

PS I didn't think my actual code was necessary for this question but I can post that if it helps.
A copy of the content of the text file would be useful. Most likely the text file contains unicode characters rather than plain ASCII text.
Topic archived. No new replies allowed.