Using VS 2008, .Net 3.5, C#.
In creating an XML string, I need to embed some non-printing ASCII characters such as 0x1C, 0x1D, 0x1E and 0x1F.
However, when writing them using the WriteRaw function, I get the error message "hexadecimal value 0x1F, is an invalid character".
In checking XML specifications, all the characters I am using are valid in XML. The xml declaration in the string is "<?xml version="1.0" encoding="utf-16"?>"
Thanks in advance for any guidance.
View Complete Post