I am inputing a UTF-8 encoded file into memory using the following code...
The input data includes some special characters such as "ü" and "ß". When I check the input "line" in debug mode, and the subsequent output file, those characters are look like this "�". Why?
Joe
Code:
try { StreamReader readFile = new StreamReader(pathNames[0]); while (line != null) { line = readFile.ReadLine(); compareData.Add(line); } } catch (Exception f) { Console.WriteLine(f.Message); Console.ReadLine(); }
Joe
Comment