WebBrowser control modifies HTML entities: How to get original source code?
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi everybody, i have an (ANSI) C++ application that hosts the WebBrowser control. I write an HTML file to the control via m_spMsHtml->write( sfArray ). The I use the HTML editing functionality of the webbrowser to modify the source, lateron I read the content back and save it to a file again. This works quite good until I use special characters like german or greek characters with their HTML encoding. If a document contains characters like these: ä ü Σ α then the "write"-command already translates these into their unicode-equivalent, so they become to ä ü Σ α I would like to keep the HTML-equivalent. Is there any way to do this? Any help is appreciated, thanks in advance! Jens Doose