Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. WebBrowser control modifies HTML entities: How to get original source code?

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

Scheduled Pinned Locked Moved C / C++ / MFC
c++htmlhelptutorialquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jens Doose
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups