I'm reading a text file with UTF-8 encoding. Some lines of file includes accents. Something like this: EdiçÃo
. But on Console and LINQPad output Edi��o
instead of.
Here's how to I'm reading the file:
File.ReadAllLines("foo.txt", Encoding.UTF8);
How to fix this?