I am trying to set the innerxml of a xmldoc but get the exception: Reference to undeclared entity
XmlDocument xmldoc = new XmlDocument();
string text = "Hello, I am text α – —"
xmldoc.InnerXml = "<p>" + text + "</p>";
This throws the exception: Reference to undeclared entity 'alpha'. Line 2, position 2..
How would I go about solving this problem?