'C# File.ReadAllText Encoding.Utf8
I try to read string from a HTML file. Here is my code:
string result = File.ReadAllText(@"C:\temp\invoice.html", Encoding.UTF8);
Since the character set of the html file is charset=windows124, the result value does not come as utf-8
The result value contains;
�</span><br>BAH�EL�EVLER<span>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
