Hi, I am trying to contain an HTML doctype declaration within an std string, but when I view the contents of the string during debugging the doctype is wrong, some characters are messed up.
Here is an code:
How should I instantiate the string so that the doctype is stored correctly?Code:
string sDocType = "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">";
Many thanks for any help.