Hi,
I'm using the following code to save content from my editor:
string content = passedContent
StreamWriter SW;
SW=File.CreateText("c:\\Test.html");
SW.WriteLine(content);
SW.Close();
/* this is the html that is passed from the editor
<table>
<tbody>
<tr>
<td>test </td>
<td> </td>
</tr>
</tbody>
</table>
*/
this works fine. However when I view the html file I see  appearing within the content (within the empty table cell etc). When I open the page in notepad and re save using Encoding UTF-8 and the  disappear.
So I have tried:
SW.WriteLine(fileText, Encoding.UTF8);
but I'm still getting the  appearing!
Any ideas as to what’s happening?