I use the WPF WebBrowser Control in my app. I have a file (mht) which contains german umlaute (ä ö ü). Now, I load this this file with .Navigate(path) but the Problem is, th
I was faced with this problem this morning and it annoyed me a lot until I found this solution:
Stream stream = new MemoryStream(System.Text.Encoding.Default.GetBytes(Content_Of_HTML_File_In_String)));
webBrowser.NavigateToStream(stream);
Compared to the solution above, you wont expect any "COMException" or something of this sort.