I need to load mshtml with html buffers stored in memory, and I use a custom
moniker with IPersistMoniker::Load for this purpose.
Sometimes, some html documents (with a lot of utf-8 chars for exemple) are
incorrectly "sniffed" and are displayed as text/plain documents. How can I
force the content-type of the buffer loaded by mshtml?
Thanks in advance
Try this. Retrieve IBindStatusCallback pointer from IBindCtx as
Call IBindStatusCallback::OnProgress with BINDSTATUS_MIMETYPEAVAILABLE
With best wishes,
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken