WebBrowser control modifies HTML entities: How to get original source code?

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:
&auml;<br />
&uuml;<br />
&Sigma;<br />
&#945;<br />
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

[876 byte] By [JensDoose] at [2007-12-25]