I have a problem with converting a text file from ANSI to UTF8 in c#. I try to display the results in a browser.
So I have a this text file with many accent characte
Do you have any idea why is this happening?
Yes, you're too late. You need to specify ANSI when you read the string from file. In memory it's always Unicode (UTF16).