Webbrowser and encoding
-
Hello, I'm using the webbrowser in my litle email client. I'm editing the message in the browser, then accessing it over DocumentText and sending later. Does anyone know how to change webbrowser's encoding from code?I tried:
webbrowser.Document.Encoding = "windows-1250";
and actually it puts the correct encoding into the html code, but it deletes all the special characters in the html.So I will get:etina je krsn
This happens when I'm changing the encoding after the editing of the document is finished. I tried to first change it to windows-1250 and then edit the content, but actually every time I edit something in webbrowser it changes back to utf-8, which is default I suppose. Any help on this appriciated Thanks Honga