I am using C# (.NET 4.5) to read a text file which has some financial information. However, whenever I read negative values (ex: -$ 1,000.00) from the file, I see that the "-$" is converted to "�". Ex: – $1,000.00 to � 1,000.00. Why is this happening?
I tried using File.ReadAllText as well as reader.ReadToEnd() where reader is a StreamReader instance. I tried specifying the Encoding as well (UTF8). Nothing worked.