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
This is very quirky.
My solution was to put an explicit meta tag in my HTML file - "My Page.html"
Then using the standard Web Browser .NET control I then created a URI object first.
webBrowser1.Url = new Uri("My Page.html");
Then draw the page using the refresh method.
webBrowser1.Refresh();
Note if you use the Navigate method directly it fails to pick up the utf-8 directive, but the URI and refresh approach does.
Quirky, but it works.