GenieClient / Genie4

.NET 6 Update of Genie
GNU General Public License v3.0
20 stars 14 forks source link

Changed XML Load to infer Encoding #113

Closed mj-colonel-panic closed 2 years ago

mj-colonel-panic commented 2 years ago

To address instances where the Mapper fails to load maps due to them having a different encoding than declared, I have changed calls to XmlDocument.Load to use a new StreamReader which infers Encoding from the Byte Order instead of trusting the declared encoding in the header.