googlesamples / unity-jar-resolver

Unity plugin which resolves Android & iOS dependencies and performs version management
Other
1.22k stars 339 forks source link

Fixes #425 - Disable addition of BoM for the GvhProjectSettings #489

Closed JohannesDeml closed 2 years ago

JohannesDeml commented 2 years ago

See https://github.com/googlesamples/unity-jar-resolver/issues/425 This fixes the problem for git fighting with the BoM. From the Microsoft documentation:

Remarks

XmlWriter always writes a Byte Order Mark (BOM) to the underlying data stream; however, some streams must not have a BOM. To omit the BOM, create a new XmlWriterSettings object and set the Encoding property to be a new UTF8Encoding object with the Boolean value in the constructor set to false.

JohannesDeml commented 2 years ago

Thanks a lot for the merge and the quick release of a new version 🙇‍♂️