❔ StreamWriter weird output

im trying to serialize xml with stream writer but im getting these weird characters at the beginning. any idea what are these?
using MemoryStream resultStream = new MemoryStream();
using StreamWriter xmlWriter = new StreamWriter(resultStream, Encoding.UTF8);
xml.Save(xmlWriter);
using MemoryStream resultStream = new MemoryStream();
using StreamWriter xmlWriter = new StreamWriter(resultStream, Encoding.UTF8);
xml.Save(xmlWriter);
2 Replies
realivanjxツ
realivanjxツOP3y ago
how to remove it?
Accord
Accord3y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?